|
Player12
An open source football management simulator
|
#include <game_controller.h>
Public Attributes | |
| PlayerID | id = 0 |
| std::string | name |
| PlayerRole | role = PlayerRole::UNKNOWN |
| int | age = 0 |
| Language | nationality = Language::EN |
| uint8_t | height = 0 |
| YouthStatus | status = YouthStatus::Squad |
| YouthContract | contract = YouthContract::None |
| int | contract_years = 0 |
| uint32_t | wage = 0 |
| YouthContract | offer = YouthContract::None |
| uint32_t | offer_wage = 0 |
| YouthEstimate | estimate |
| const char * | personality_key = "" |
| bool | homegrown = false |
| bool | loan_listed = false |
| uint16_t | appearances = 0 |
| uint16_t | goals = 0 |
| float | average_rating = 0.0f |
| std::vector< YouthProgressPoint > | progress |
An academy player of the managed club (scouted ranges, never exact).
| int GameController::YouthPlayerView::age = 0 |
| uint16_t GameController::YouthPlayerView::appearances = 0 |
| float GameController::YouthPlayerView::average_rating = 0.0f |
| YouthContract GameController::YouthPlayerView::contract = YouthContract::None |
| int GameController::YouthPlayerView::contract_years = 0 |
| YouthEstimate GameController::YouthPlayerView::estimate |
| uint16_t GameController::YouthPlayerView::goals = 0 |
| uint8_t GameController::YouthPlayerView::height = 0 |
| bool GameController::YouthPlayerView::homegrown = false |
| PlayerID GameController::YouthPlayerView::id = 0 |
| bool GameController::YouthPlayerView::loan_listed = false |
| std::string GameController::YouthPlayerView::name |
| Language GameController::YouthPlayerView::nationality = Language::EN |
| YouthContract GameController::YouthPlayerView::offer = YouthContract::None |
Contract he would get.
| uint32_t GameController::YouthPlayerView::offer_wage = 0 |
Weekly wage of that contract.
| const char* GameController::YouthPlayerView::personality_key = "" |
| std::vector<YouthProgressPoint> GameController::YouthPlayerView::progress |
Monthly overall snapshots, oldest first.
| PlayerRole GameController::YouthPlayerView::role = PlayerRole::UNKNOWN |
| YouthStatus GameController::YouthPlayerView::status = YouthStatus::Squad |
| uint32_t GameController::YouthPlayerView::wage = 0 |
Weekly wage (0 for trialists).