GOG GALAXY SDK Documentation
|
Listener for the event of retrieving definitions of leaderboards. More...
#include <IStats.h>
Public Types | |
enum | FailureReason { FAILURE_REASON_UNDEFINED , FAILURE_REASON_CONNECTION_FAILURE } |
The reason of a failure in retrieving definitions of leaderboards. More... | |
Public Member Functions | |
virtual void | OnLeaderboardsRetrieveSuccess ()=0 |
Notification for the event of a success in retrieving definitions of leaderboards. More... | |
virtual void | OnLeaderboardsRetrieveFailure (FailureReason failureReason)=0 |
Notification for the event of a failure in retrieving definitions of leaderboards. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from GalaxyTypeAwareListener< LEADERBOARDS_RETRIEVE > | |
static ListenerType | GetListenerType () |
Returns the type of the listener. More... | |
Listener for the event of retrieving definitions of leaderboards.
enum FailureReason |
|
pure virtual |
Notification for the event of a failure in retrieving definitions of leaderboards.
[in] | failureReason | The cause of the failure. |
|
pure virtual |
Notification for the event of a success in retrieving definitions of leaderboards.
In order to read metadata of retrieved leaderboards, call IStats::GetLeaderboardDisplayName(), IStats::GetLeaderboardSortMethod(), or IStats::GetLeaderboardDisplayType().
In order to read entries, retrieve some first by calling IStats::RequestLeaderboardEntriesGlobal(), IStats::RequestLeaderboardEntriesAroundUser(), or IStats::RequestLeaderboardEntriesForUsers().