Player12
An open source football management simulator
Loading...
Searching...
No Matches
records.cpp File Reference
#include "model/records.h"
#include <algorithm>
#include <utility>
#include "database/gamedata.h"
#include "database/sqlite_rows.h"
#include "model/match_report.h"
#include "model/player.h"
#include "model/team.h"

Namespaces

namespace  Records
 Comparison rules of the records book.
 

Functions

const char * recordKindKey (RecordKind kind)
 
bool Records::beats (const RecordEntry &challenger, const RecordEntry &holder)
 
bool Records::isLegend (const ClubPlayerTotal &totals, int honours)
 
int Records::legendScore (const ClubPlayerTotal &totals, int honours)
 

Function Documentation

◆ recordKindKey()

const char * recordKindKey ( RecordKind  kind)

Language key naming kind (e.g. "RECORD_BIGGEST_WIN").