GOG GALAXY SDK Documentation
|
Listener for the event of retrieving statistics and achievements of a specified user, possibly our own. More...
#include <IStats.h>
Public Types | |
enum | FailureReason { FAILURE_REASON_UNDEFINED , FAILURE_REASON_CONNECTION_FAILURE } |
The reason of a failure in retrieving statistics and achievements. More... | |
Public Member Functions | |
virtual void | OnUserStatsAndAchievementsRetrieveSuccess (GalaxyID userID)=0 |
Notification for the event of success in retrieving statistics and achievements for a specified user. More... | |
virtual void | OnUserStatsAndAchievementsRetrieveFailure (GalaxyID userID, FailureReason failureReason)=0 |
Notification for the event of a failure in retrieving statistics and achievements for a specified user. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from GalaxyTypeAwareListener< USER_STATS_AND_ACHIEVEMENTS_RETRIEVE > | |
static ListenerType | GetListenerType () |
Returns the type of the listener. More... | |
Listener for the event of retrieving statistics and achievements of a specified user, possibly our own.
enum FailureReason |
|
pure virtual |
Notification for the event of a failure in retrieving statistics and achievements for a specified user.
[in] | userID | The ID of the user. |
[in] | failureReason | The cause of the failure. |
|
pure virtual |
Notification for the event of success in retrieving statistics and achievements for a specified user.
To read statistics call IStats::GetStatInt() or IStats::GetStatFloat(), depending on the type of the statistic to read.
To read achievements call IStats::GetAchievement().
[in] | userID | The ID of the user. |