std::string title
Title of the table.
Struct about league table elements.
Struct about custom league tables.
std::string header
Text to show above the table.
bool IsValidLink(Link link)
Checks whether a link is valid, i.e.
~LeagueTable()
(Empty) destructor has to be defined else operator delete might be called with nullptr parameter
Owner
Enum for all companies/owners.
LeagueTable()
We need an (empty) constructor so struct isn't zeroed (as C++ standard states)
uint8 LeagueTableID
ID of a league table.
Link link
What opens when element is clicked.
CompanyID company
Company Id to show the color blob for or INVALID_COMPANY.
Base class for all pools.
int64 rating
Value that determines ordering of elements in the table (higher=better)
std::string score
String representation of the score associated with the element.
std::string footer
Text to show below the table.
~LeagueTableElement()
(Empty) destructor has to be defined else operator delete might be called with nullptr parameter
LeagueTableElement()
We need an (empty) constructor so struct isn't zeroed (as C++ standard states)
std::string text
Text of the element.
Base class for all PoolItems.
LeagueTableID table
Id of the table which this element belongs to.