|
Player12
An open source football management simulator
|
#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 |
Everything the talks over an incoming transfer or loan offer show.
| int GameController::IncomingOfferView::age = 0 |
| TransferNegotiation::OfferTerms GameController::IncomingOfferView::asked |
The club's pending counter.
| TransferNegotiation::LoanTerms GameController::IncomingOfferView::asked_loan |
Loan: pending counter.
| std::uint32_t GameController::IncomingOfferView::asking_price = 0 |
Listing price, 0 if not listed.
| TeamID GameController::IncomingOfferView::buyer = 0 |
| std::string GameController::IncomingOfferView::buyer_name |
| std::uint8_t GameController::IncomingOfferView::contract_years = 0 |
| int GameController::IncomingOfferView::days_to_deadline = -1 |
| GameDateValue GameController::IncomingOfferView::expires |
| bool GameController::IncomingOfferView::final_offer = false |
The bid is the buyer's last word.
| std::vector<OfferRound> GameController::IncomingOfferView::history |
| bool GameController::IncomingOfferView::loan = false |
| TransferNegotiation::LoanTerms GameController::IncomingOfferView::loan_terms |
Loan: on the table.
| std::uint32_t GameController::IncomingOfferView::market_value = 0 |
| std::uint32_t GameController::IncomingOfferView::offer_id = 0 |
| PlayerID GameController::IncomingOfferView::player_id = 0 |
| std::string GameController::IncomingOfferView::player_name |
| std::uint32_t GameController::IncomingOfferView::release_clause = 0 |
0 = none.
| GameDateValue GameController::IncomingOfferView::respond_on |
| std::uint8_t GameController::IncomingOfferView::rivals = 0 |
Other clubs bidding for him.
| SquadRole GameController::IncomingOfferView::role {} |
| PlayerActionBlock GameController::IncomingOfferView::sale_block = PlayerActionBlock::None |
Why the club could not let him go now (squad floor).
| int GameController::IncomingOfferView::season_weeks = 0 |
Weeks to the season's end.
| BuyerNegotiation::PlayerStance GameController::IncomingOfferView::stance |
| OfferStatus GameController::IncomingOfferView::status = OfferStatus::AwaitingClub |
| TransferNegotiation::OfferTerms GameController::IncomingOfferView::terms |
The bid on the table.
| std::uint32_t GameController::IncomingOfferView::weekly_wage = 0 |
His full wage.
| bool GameController::IncomingOfferView::window_open = false |