stmm-games-doc  0.32.0
Public Member Functions | Public Attributes | List of all members
stmg::HighscoresDefinition::Eligibility Struct Reference

All constraints must be satisfied for a team to be added to the highscore. More...

Public Member Functions

bool operator== (const Eligibility &oHS) const noexcept
 

Public Attributes

std::string m_sVarName
 Name of variable. More...
 
int32_t m_nMin = 0
 The minimum value of the eligible range. More...
 
int32_t m_nMax = 0
 The maximum value of the eligible range. More...
 

Detailed Description

All constraints must be satisfied for a team to be added to the highscore.

Note: HighscoresDefinition doesn't check for the validity of the variable name. The Highscore class should do it.

Member Function Documentation

◆ operator==()

bool stmg::HighscoresDefinition::Eligibility::operator== ( const Eligibility oHS) const
noexcept

Member Data Documentation

◆ m_nMax

int32_t stmg::HighscoresDefinition::Eligibility::m_nMax = 0

The maximum value of the eligible range.

◆ m_nMin

int32_t stmg::HighscoresDefinition::Eligibility::m_nMin = 0

The minimum value of the eligible range.

◆ m_sVarName

std::string stmg::HighscoresDefinition::Eligibility::m_sVarName

Name of variable.

Cannot be empty.