|
Player12
An open source football management simulator
|
The current holder of one record. More...
#include <records.h>
Public Attributes | |
| RecordScope | scope = RecordScope::Club |
| std::uint32_t | scope_id = 0 |
| RecordKind | kind = RecordKind::BiggestWin |
| std::int64_t | value = 0 |
| std::int32_t | value2 = 0 |
| TeamID | team_id = 0 |
| TeamID | opponent_id = 0 |
| PlayerID | player_id = 0 |
| std::string | name |
| GameDateValue | date |
| std::uint16_t | season_year = 0 |
| std::uint8_t | goals_for = 0 |
| std::uint8_t | goals_against = 0 |
| bool | home = true |
The current holder of one record.
team_id is the club that set it (for league records: the club whose match, season or player it was), opponent_id the other side of a match. Names are copied because players retire and leave the database.
| GameDateValue RecordEntry::date |
| std::uint8_t RecordEntry::goals_against = 0 |
| std::uint8_t RecordEntry::goals_for = 0 |
Match records: score of team_id.
| bool RecordEntry::home = true |
Match records: team_id played at home.
| RecordKind RecordEntry::kind = RecordKind::BiggestWin |
| std::string RecordEntry::name |
Player name (scorer, signing), else empty.
| TeamID RecordEntry::opponent_id = 0 |
| PlayerID RecordEntry::player_id = 0 |
| RecordScope RecordEntry::scope = RecordScope::Club |
| std::uint32_t RecordEntry::scope_id = 0 |
TeamID or LeagueID.
| std::uint16_t RecordEntry::season_year = 0 |
| TeamID RecordEntry::team_id = 0 |
| std::int64_t RecordEntry::value = 0 |
| std::int32_t RecordEntry::value2 = 0 |