|
Player12
An open source football management simulator
|
Suspension rules of a competition (every-fifth-yellow style). More...
#include <discipline.h>
Public Attributes | |
| uint8_t | yellow_card_threshold = 5 |
| uint8_t | yellow_accumulation_ban = 1 |
| uint8_t | second_yellow_ban = 1 |
| uint8_t | straight_red_ban = 1 |
| uint8_t | repeat_red_extra = 1 |
Suspension rules of a competition (every-fifth-yellow style).
| uint8_t DisciplineRules::repeat_red_extra = 1 |
Added per earlier red this season.
| uint8_t DisciplineRules::second_yellow_ban = 1 |
| uint8_t DisciplineRules::straight_red_ban = 1 |
| uint8_t DisciplineRules::yellow_accumulation_ban = 1 |
| uint8_t DisciplineRules::yellow_card_threshold = 5 |
Every Nth yellow triggers a ban.