#include <cstddef>
#include <cstdint>
#include <functional>
#include <map>
#include <memory>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
#include "global/types.h"
#include "model/gamedate.h"
Go to the source code of this file.
|
| namespace | Records |
| | Comparison rules of the records book.
|
| |
|
| enum class | RecordKind : std::uint8_t {
BiggestWin = 0
, BiggestDefeat
, HighestScoringMatch
, HighestAttendance
,
MostGoalsSeason
, MostPointsSeason
, TopScorerSeason
, RecordSigning
,
RecordSale
, COUNT
} |
| | Kind of a record (values are persisted). More...
|
| |
| enum class | RecordScope : std::uint8_t { Club = 0
, League
} |
| | Whether a record belongs to a club or to a league. More...
|
| |
◆ RecordKind
Kind of a record (values are persisted).
| Enumerator |
|---|
| BiggestWin | value = margin, value2 = goals scored.
|
| BiggestDefeat | value = margin, value2 = goals conceded.
|
| HighestScoringMatch | value = total goals.
|
| HighestAttendance | value = crowd.
|
| MostGoalsSeason | value = league goals of a club in a season.
|
| MostPointsSeason | value = league points of a club in a season.
|
| TopScorerSeason | value = competitive goals of a player.
|
| RecordSigning | value = fee paid.
|
| RecordSale | value = fee received.
|
| COUNT | |
◆ RecordScope
Whether a record belongs to a club or to a league.
◆ recordKindKey()
Language key naming kind (e.g. "RECORD_BIGGEST_WIN").