Player12
An open source football management simulator
Loading...
Searching...
No Matches
PlannerPlayer Struct Reference

What the planner knows about one player of the squad. More...

#include <squad_planner.h>

Public Attributes

PlayerID id = 0
 
PlayerRole role = PlayerRole::UNKNOWN
 
int age = 0
 
float overall = 0.0f
 
float potential = 0.0f
 
int contract_years = 0
 
bool in_xi = false
 
bool injured = false
 
bool listed = false
 

Detailed Description

What the planner knows about one player of the squad.

Member Data Documentation

◆ age

int PlannerPlayer::age = 0

◆ contract_years

int PlannerPlayer::contract_years = 0

Remaining seasons including the current one; <= 1 expires in June.

◆ id

PlayerID PlannerPlayer::id = 0

◆ in_xi

bool PlannerPlayer::in_xi = false

Selected in the current starting XI.

◆ injured

bool PlannerPlayer::injured = false

◆ listed

bool PlannerPlayer::listed = false

Transfer listed: not counted as depth.

◆ overall

float PlannerPlayer::overall = 0.0f

◆ potential

float PlannerPlayer::potential = 0.0f

Midpoint of the club's potential estimate (never the hidden value).

◆ role

PlayerRole PlannerPlayer::role = PlayerRole::UNKNOWN

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