Player12
An open source football management simulator
Loading...
Searching...
No Matches
GameController::IncomingOfferView Struct Reference

#include <game_controller.h>

Public Attributes

std::uint32_t offer_id = 0
 
PlayerID player_id = 0
 
TeamID buyer = 0
 
std::string player_name
 
std::string buyer_name
 
int age = 0
 
SquadRole role {}
 
std::uint32_t market_value = 0
 
std::uint32_t asking_price = 0
 
std::uint8_t contract_years = 0
 
BuyerNegotiation::PlayerStance stance
 
std::uint8_t rivals = 0
 
OfferStatus status = OfferStatus::AwaitingClub
 
GameDateValue expires
 
GameDateValue respond_on
 
TransferNegotiation::OfferTerms terms
 
TransferNegotiation::OfferTerms asked
 
bool loan = false
 
TransferNegotiation::LoanTerms loan_terms
 
TransferNegotiation::LoanTerms asked_loan
 
std::uint32_t weekly_wage = 0
 
std::uint32_t release_clause = 0
 
int season_weeks = 0
 
PlayerActionBlock sale_block = PlayerActionBlock::None
 
std::vector< OfferRound > history
 
bool final_offer = false
 
bool window_open = false
 
int days_to_deadline = -1
 

Detailed Description

Everything the talks over an incoming transfer or loan offer show.

Member Data Documentation

◆ age

int GameController::IncomingOfferView::age = 0

◆ asked

TransferNegotiation::OfferTerms GameController::IncomingOfferView::asked

The club's pending counter.

◆ asked_loan

TransferNegotiation::LoanTerms GameController::IncomingOfferView::asked_loan

Loan: pending counter.

◆ asking_price

std::uint32_t GameController::IncomingOfferView::asking_price = 0

Listing price, 0 if not listed.

◆ buyer

TeamID GameController::IncomingOfferView::buyer = 0

◆ buyer_name

std::string GameController::IncomingOfferView::buyer_name

◆ contract_years

std::uint8_t GameController::IncomingOfferView::contract_years = 0

◆ days_to_deadline

int GameController::IncomingOfferView::days_to_deadline = -1

◆ expires

GameDateValue GameController::IncomingOfferView::expires

◆ final_offer

bool GameController::IncomingOfferView::final_offer = false

The bid is the buyer's last word.

◆ history

std::vector<OfferRound> GameController::IncomingOfferView::history

◆ loan

bool GameController::IncomingOfferView::loan = false

◆ loan_terms

TransferNegotiation::LoanTerms GameController::IncomingOfferView::loan_terms

Loan: on the table.

◆ market_value

std::uint32_t GameController::IncomingOfferView::market_value = 0

◆ offer_id

std::uint32_t GameController::IncomingOfferView::offer_id = 0

◆ player_id

PlayerID GameController::IncomingOfferView::player_id = 0

◆ player_name

std::string GameController::IncomingOfferView::player_name

◆ release_clause

std::uint32_t GameController::IncomingOfferView::release_clause = 0

0 = none.

◆ respond_on

GameDateValue GameController::IncomingOfferView::respond_on

◆ rivals

std::uint8_t GameController::IncomingOfferView::rivals = 0

Other clubs bidding for him.

◆ role

SquadRole GameController::IncomingOfferView::role {}

◆ sale_block

PlayerActionBlock GameController::IncomingOfferView::sale_block = PlayerActionBlock::None

Why the club could not let him go now (squad floor).

◆ season_weeks

int GameController::IncomingOfferView::season_weeks = 0

Weeks to the season's end.

◆ stance

BuyerNegotiation::PlayerStance GameController::IncomingOfferView::stance

◆ status

OfferStatus GameController::IncomingOfferView::status = OfferStatus::AwaitingClub

◆ terms

TransferNegotiation::OfferTerms GameController::IncomingOfferView::terms

The bid on the table.

◆ weekly_wage

std::uint32_t GameController::IncomingOfferView::weekly_wage = 0

His full wage.

◆ window_open

bool GameController::IncomingOfferView::window_open = false

The documentation for this struct was generated from the following file: