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

#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
 

Detailed Description

An academy player of the managed club (scouted ranges, never exact).

Member Data Documentation

◆ age

int GameController::YouthPlayerView::age = 0

◆ appearances

uint16_t GameController::YouthPlayerView::appearances = 0

◆ average_rating

float GameController::YouthPlayerView::average_rating = 0.0f

◆ contract

YouthContract GameController::YouthPlayerView::contract = YouthContract::None

◆ contract_years

int GameController::YouthPlayerView::contract_years = 0

◆ estimate

YouthEstimate GameController::YouthPlayerView::estimate

◆ goals

uint16_t GameController::YouthPlayerView::goals = 0

◆ height

uint8_t GameController::YouthPlayerView::height = 0

◆ homegrown

bool GameController::YouthPlayerView::homegrown = false

◆ id

PlayerID GameController::YouthPlayerView::id = 0

◆ loan_listed

bool GameController::YouthPlayerView::loan_listed = false

◆ name

std::string GameController::YouthPlayerView::name

◆ nationality

Language GameController::YouthPlayerView::nationality = Language::EN

◆ offer

YouthContract GameController::YouthPlayerView::offer = YouthContract::None

Contract he would get.

◆ offer_wage

uint32_t GameController::YouthPlayerView::offer_wage = 0

Weekly wage of that contract.

◆ personality_key

const char* GameController::YouthPlayerView::personality_key = ""

◆ progress

std::vector<YouthProgressPoint> GameController::YouthPlayerView::progress

Monthly overall snapshots, oldest first.

◆ role

PlayerRole GameController::YouthPlayerView::role = PlayerRole::UNKNOWN

◆ status

YouthStatus GameController::YouthPlayerView::status = YouthStatus::Squad

◆ wage

uint32_t GameController::YouthPlayerView::wage = 0

Weekly wage (0 for trialists).


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