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

Individual focus and workload history of a player. More...

#include <training.h>

Public Attributes

TrainingFocus focus = TrainingFocus::None
 
float acute = 0.0f
 
float chronic = 0.0f
 
float pending = 0.0f
 
float trend = 0.0f
 

Detailed Description

Individual focus and workload history of a player.

Loads are in session units (a normal endurance session = 1.0, a full match = 1.8) averaged per day; acute and chronic are exponentially weighted over 7 and 28 days.

Member Data Documentation

◆ acute

float PlayerTrainingState::acute = 0.0f

◆ chronic

float PlayerTrainingState::chronic = 0.0f

◆ focus

TrainingFocus PlayerTrainingState::focus = TrainingFocus::None

◆ pending

float PlayerTrainingState::pending = 0.0f

Load of the current day.

◆ trend

float PlayerTrainingState::trend = 0.0f

Smoothed weekly change of the overall rating.


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