|
stmm-games-doc
0.32.0
|

Public Member Functions | |
| virtual | ~HighscoresLoader () noexcept=default |
| virtual std::vector< shared_ptr< Highscore > > | getHighscores (const std::string &sGameName, const shared_ptr< HighscoresDefinition > &refHighscoresDefinition) const noexcept=0 |
| Get all the currently available highscores for a game. More... | |
| virtual shared_ptr< Highscore > | getHighscore (const std::string &sGameName, const AppPreferences &oPreferences, const shared_ptr< HighscoresDefinition > &refHighscoresDefinition) const noexcept=0 |
| Get the highscore for the game (prefs) and the highscores definition. More... | |
| virtual bool | updateHighscore (const std::string &sGameName, const AppPreferences &oPreferences, const Highscore &oHighscore) noexcept=0 |
| Persist the highscores for a game. More... | |
|
virtualdefaultnoexcept |
|
pure virtualnoexcept |
Get the highscore for the game (prefs) and the highscores definition.
| sGameName | The game name. Cannot be empty. |
| oPreferences | The preferences. |
| refHighscoresDefinition | The highscores definition. Cannot be null. |
Implemented in stmg::XmlHighscoresLoader.
|
pure virtualnoexcept |
Get all the currently available highscores for a game.
| sGameName | The game name. Cannot be empty. |
| refHighscoresDefinition | The highscores definition. Cannot be null. |
Implemented in stmg::XmlHighscoresLoader.
|
pure virtualnoexcept |
Persist the highscores for a game.
| sGameName | The game name. Cannot be empty. |
| oPreferences | The preferences. |
| oHighscore | The highscore. |
Implemented in stmg::XmlHighscoresLoader.
1.8.13