ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Common::AchievementsManager Class Reference

#include <achievements.h>

Inheritance diagram for Common::AchievementsManager:
Collaboration diagram for Common::AchievementsManager:

List of all members.

Public Member Functions

 AchievementsManager ()
 ~AchievementsManager ()
bool setActiveDomain (AchievementsPlatform platform, const String &appId)
bool unsetActiveDomain ()
bool isReady ()
bool setAchievement (const String &id, const String &displayedMessage)
bool isAchieved (const String &id)
bool clearAchievement (const String &id)
int getStatInt (const String &id)
bool setStatInt (const String &id, int value)
float getStatFloat (const String &id)
bool setStatFloat (const String &id, float value)
bool resetAllAchievements ()
bool resetAllStats ()

Private Attributes

INIFile_iniFile
String _iniFileName

Detailed Description

Definition at line 67 of file achievements.h.


Constructor & Destructor Documentation

Common::AchievementsManager::AchievementsManager (  ) 

Definition at line 34 of file achievements.cpp.

Common::AchievementsManager::~AchievementsManager (  ) 

Definition at line 40 of file achievements.cpp.


Member Function Documentation

bool Common::AchievementsManager::clearAchievement ( const String id  ) 

Definition at line 112 of file achievements.cpp.

float Common::AchievementsManager::getStatFloat ( const String id  ) 

Definition at line 135 of file achievements.cpp.

int Common::AchievementsManager::getStatInt ( const String id  ) 

Definition at line 158 of file achievements.cpp.

bool Common::AchievementsManager::isAchieved ( const String id  ) 

Definition at line 103 of file achievements.cpp.

bool Common::AchievementsManager::isReady (  )  [inline]

Definition at line 74 of file achievements.h.

bool Common::AchievementsManager::resetAllAchievements (  ) 

Definition at line 169 of file achievements.cpp.

bool Common::AchievementsManager::resetAllStats (  ) 

Definition at line 180 of file achievements.cpp.

bool Common::AchievementsManager::setAchievement ( const String id,
const String displayedMessage 
)

Definition at line 77 of file achievements.cpp.

bool Common::AchievementsManager::setActiveDomain ( AchievementsPlatform  platform,
const String appId 
)

Definition at line 43 of file achievements.cpp.

bool Common::AchievementsManager::setStatFloat ( const String id,
float  value 
)

Definition at line 123 of file achievements.cpp.

bool Common::AchievementsManager::setStatInt ( const String id,
int  value 
)

Definition at line 146 of file achievements.cpp.

bool Common::AchievementsManager::unsetActiveDomain (  ) 

Definition at line 67 of file achievements.cpp.


Member Data Documentation

Definition at line 92 of file achievements.h.

Definition at line 93 of file achievements.h.


The documentation for this class was generated from the following files:


Generated on Sat Sep 19 2020 05:04:42 for ResidualVM by doxygen 1.7.1
curved edge   curved edge