|
stmm-games-doc
0.32.0
|

Public Member Functions | |
| virtual | ~PrefPlayer () noexcept=default |
| virtual const std::string & | getName () const noexcept=0 |
| The player's name. More... | |
| virtual bool | isAI () const noexcept=0 |
| Whether the player is AI. More... | |
| virtual Variant | getOptionValue (const std::string &sName) const noexcept=0 |
| Returns value of a player specific option. More... | |
| virtual const shared_ptr< PrefTeam > | getTeam () const noexcept=0 |
| The team the player belongs to as a mate. More... | |
| virtual int32_t | getMate () const noexcept=0 |
| The mate number within the team. More... | |
| virtual int32_t | get () const noexcept=0 |
| The player number within the game. More... | |
| virtual std::vector< shared_ptr< stmi::Capability > > | getCapabilities () const noexcept=0 |
| The capabilities assigned to the player. More... | |
|
virtualdefaultnoexcept |
|
pure virtualnoexcept |
The player number within the game.
Implemented in stmg::StdPreferences::Player.
|
pure virtualnoexcept |
The capabilities assigned to the player.
Implemented in stmg::StdPreferences::Player.
|
pure virtualnoexcept |
The mate number within the team.
Note: *this == *(getTeam()->getMate(this->getMate()))
Implemented in stmg::StdPreferences::Player.
|
pure virtualnoexcept |
The player's name.
The name is unique among all players.
Implemented in stmg::StdPreferences::Player.
|
pure virtualnoexcept |
Returns value of a player specific option.
| sName | The option name. |
Implemented in stmg::StdPreferences::Player.
|
pure virtualnoexcept |
The team the player belongs to as a mate.
Implemented in stmg::StdPreferences::Player.
|
pure virtualnoexcept |
Whether the player is AI.
This is a shortcut for the AI option.
Implemented in stmg::StdPreferences::Player.
1.8.13