|
stmm-games-doc
0.32.0
|

Public Member Functions | |
| virtual | ~PrefTeam () noexcept=default |
| virtual const std::string & | getName () const noexcept=0 |
| The team's name. More... | |
| virtual bool | isAI () const noexcept=0 |
| Whether the team is AI. More... | |
| virtual int32_t | getTotMates () const noexcept=0 |
| The number of mates in the team. More... | |
| virtual const shared_ptr< PrefPlayer > | getMate (int32_t nMate) const noexcept=0 |
| Get a mate of the team. More... | |
| virtual Variant | getOptionValue (const std::string &sOptionName) const noexcept=0 |
| Returns value of a team specific option. More... | |
| virtual int32_t | get () const noexcept=0 |
| The team number within the game. More... | |
|
virtualdefaultnoexcept |
|
pure virtualnoexcept |
The team number within the game.
Implemented in stmg::StdPreferences::Team.
|
pure virtualnoexcept |
Get a mate of the team.
| nMate | The mate number. Must be >=0 and < getTotMates(). |
Implemented in stmg::StdPreferences::Team.
|
pure virtualnoexcept |
The team's name.
The name is unique among all teams.
Implemented in stmg::StdPreferences::Team.
|
pure virtualnoexcept |
Returns value of a team specific option.
| sOptionName | The option name. |
Implemented in stmg::StdPreferences::Team.
|
pure virtualnoexcept |
The number of mates in the team.
Implemented in stmg::StdPreferences::Team.
|
pure virtualnoexcept |
Whether the team is AI.
The team is AI if all its mates are AI.
Implemented in stmg::StdPreferences::Team.
1.8.13