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

All constraints must be satisfied for a highscore to be created. More...

Public Member Functions

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

Public Attributes

HIGHSCORE_CONSTRAINT_TYPE m_eType
 The type of the highscore existance constraint. More...
 
int32_t m_nMin
 The minimum of the valid range of tot teams or tot AI teams, etc. More...
 
int32_t m_nMax
 The maximum of the valid range of tot teams or tot AI teams, etc. More...
 

Detailed Description

All constraints must be satisfied for a highscore to be created.

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ m_eType

HIGHSCORE_CONSTRAINT_TYPE stmg::HighscoresDefinition::HighscoreConstraint::m_eType

The type of the highscore existance constraint.

◆ m_nMax

int32_t stmg::HighscoresDefinition::HighscoreConstraint::m_nMax

The maximum of the valid range of tot teams or tot AI teams, etc.

◆ m_nMin

int32_t stmg::HighscoresDefinition::HighscoreConstraint::m_nMin

The minimum of the valid range of tot teams or tot AI teams, etc.