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

Depth chart, needs, age profile and contract calendar of a squad for the current season (offset 0) or a projected later one. More...

#include <squad_planner.h>

Public Attributes

int season_offset = 0
 
std::array< GroupDepth, PLANNER_GROUP_COUNT > groups {}
 
std::vector< PlannerNeed > needs
 
std::array< int, AGE_BAND_COUNT > age_bands {}
 
float average_age = 0.0f
 
std::vector< ContractExpiry > expiries
 
std::vector< PlayerID > departures
 
int squad_size = 0
 

Detailed Description

Depth chart, needs, age profile and contract calendar of a squad for the current season (offset 0) or a projected later one.

Member Data Documentation

◆ age_bands

std::array<int, AGE_BAND_COUNT> SquadPlan::age_bands {}

◆ average_age

float SquadPlan::average_age = 0.0f

◆ departures

std::vector<PlayerID> SquadPlan::departures

Players who leave before the viewed season (expired contracts).

◆ expiries

std::vector<ContractExpiry> SquadPlan::expiries

Soonest first, no empty years.

◆ groups

std::array<GroupDepth, PLANNER_GROUP_COUNT> SquadPlan::groups {}

◆ needs

std::vector<PlannerNeed> SquadPlan::needs

Most pressing first.

◆ season_offset

int SquadPlan::season_offset = 0

◆ squad_size

int SquadPlan::squad_size = 0

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