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

Cards and outstanding ban of a player in one competition type. More...

#include <discipline.h>

Public Attributes

PlayerID player_id = 0
 
MatchType scope = MatchType::LEAGUE
 
uint16_t season_yellows = 0
 
uint8_t season_reds = 0
 
uint8_t ban_matches = 0
 

Detailed Description

Cards and outstanding ban of a player in one competition type.

Member Data Documentation

◆ ban_matches

uint8_t DisciplinaryRecord::ban_matches = 0

Matches still to serve in this scope.

◆ player_id

PlayerID DisciplinaryRecord::player_id = 0

◆ scope

MatchType DisciplinaryRecord::scope = MatchType::LEAGUE

LEAGUE or CUP.

◆ season_reds

uint8_t DisciplinaryRecord::season_reds = 0

◆ season_yellows

uint16_t DisciplinaryRecord::season_yellows = 0

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