|
Player12
An open source football management simulator
|
Final outcome of one competition in one season. More...
#include <season_history.h>
Public Attributes | |
| uint16_t | season = 0 |
| uint16_t | start_year = 0 |
| MatchType | competition_type = MatchType::LEAGUE |
| LeagueID | competition_id = 0 |
| std::string | competition_name |
| TeamID | champion_id = 0 |
| TeamID | runner_up_id = 0 |
| std::vector< TeamID > | promoted |
| std::vector< TeamID > | relegated |
| PlayerID | top_scorer_id = 0 |
| uint16_t | top_scorer_goals = 0 |
Final outcome of one competition in one season.
League rows carry champion, runner-up, the clubs promoted out of the league and relegated out of it, and the league top scorer. Cup rows (competition_type == CUP, competition_id == country root league) carry the cup winner as champion and the losing finalist as runner-up.
| TeamID SeasonHistoryEntry::champion_id = 0 |
0 when undecided.
| LeagueID SeasonHistoryEntry::competition_id = 0 |
| std::string SeasonHistoryEntry::competition_name |
Fallback name; "@KEY" (a language key) for continental competitions. Screens name leagues and cups from competition_id in the current language.
| MatchType SeasonHistoryEntry::competition_type = MatchType::LEAGUE |
| std::vector<TeamID> SeasonHistoryEntry::promoted |
| std::vector<TeamID> SeasonHistoryEntry::relegated |
| TeamID SeasonHistoryEntry::runner_up_id = 0 |
0 when undecided.
| uint16_t SeasonHistoryEntry::season = 0 |
Game season number (1 = first season).
| uint16_t SeasonHistoryEntry::start_year = 0 |
Calendar year the season started.
| uint16_t SeasonHistoryEntry::top_scorer_goals = 0 |
| PlayerID SeasonHistoryEntry::top_scorer_id = 0 |
0 when no goals were attributed.