|
Player12
An open source football management simulator
|
#include <continental.h>
Public Attributes | |
| LeagueID | id = 0 |
| const char * | name_key = "" |
| Continent | continent = Continent::Europe |
| uint8_t | tier = 1 |
| uint8_t | clubs = 36 |
| uint8_t | matches = 8 |
| std::array< uint8_t, 8 > | base_places {} |
| std::array< uint8_t, 2 > | weekday_offsets {} |
| int | final_offset = 14 |
| Prizes | prizes |
| double | participation_bonus = 0.0 |
| double | ranking_bonus = 0.0 |
| double | knockout_bonus = 0.0 |
Format, access list, dates and prize table of one competition.
| std::array<uint8_t, 8> Continental::CompetitionRules::base_places {} |
League-phase places by association rank (index 0 = best); the last value applies to every lower rank. Free places are then shared out one at a time in rank order.
| uint8_t Continental::CompetitionRules::clubs = 36 |
League-phase clubs.
| Continent Continental::CompetitionRules::continent = Continent::Europe |
| int Continental::CompetitionRules::final_offset = 14 |
Final: days after the last league Saturday (neutral venue).
| LeagueID Continental::CompetitionRules::id = 0 |
| double Continental::CompetitionRules::knockout_bonus = 0.0 |
| uint8_t Continental::CompetitionRules::matches = 8 |
League-phase matches per club (two per pot).
| const char* Continental::CompetitionRules::name_key = "" |
| double Continental::CompetitionRules::participation_bonus = 0.0 |
Coefficient bonuses: league-phase participation, best league-phase ranking (decreasing linearly to 0) and knockout participation.
| Prizes Continental::CompetitionRules::prizes |
| double Continental::CompetitionRules::ranking_bonus = 0.0 |
| uint8_t Continental::CompetitionRules::tier = 1 |
| std::array<uint8_t, 2> Continental::CompetitionRules::weekday_offsets {} |
Day offsets from the week's Tuesday for the two halves of a round.