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

Observable facts behind a player's injury risk. More...

#include <medical_centre.h>

Public Attributes

int age = 25
 
int days_since_injury = -1
 
int days_since_match = -1
 
float condition = 100.0f
 
float workload_ratio = 1.0f
 
float staff_prevention = 1.0f
 

Detailed Description

Observable facts behind a player's injury risk.

Member Data Documentation

◆ age

int InjuryRiskInputs::age = 25

◆ condition

float InjuryRiskInputs::condition = 100.0f

◆ days_since_injury

int InjuryRiskInputs::days_since_injury = -1

Since the last injury began; -1 = none.

◆ days_since_match

int InjuryRiskInputs::days_since_match = -1

-1 = no match played yet.

◆ staff_prevention

float InjuryRiskInputs::staff_prevention = 1.0f

◆ workload_ratio

float InjuryRiskInputs::workload_ratio = 1.0f

Acute:chronic load.


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