|
GOG GALAXY SDK Documentation
|
Listener for the event of retrieving user time played. More...
#include <IStats.h>
Public Types | |
| enum | FailureReason { FAILURE_REASON_UNDEFINED , FAILURE_REASON_CONNECTION_FAILURE } |
| The reason of a failure in retrieving user time played. More... | |
Public Member Functions | |
| virtual void | OnUserTimePlayedRetrieveSuccess (GalaxyID userID)=0 |
| Notification for the event of a success in retrieving user time played. More... | |
| virtual void | OnUserTimePlayedRetrieveFailure (GalaxyID userID, FailureReason failureReason)=0 |
| Notification for the event of a failure in retrieving user time played. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from GalaxyTypeAwareListener< USER_TIME_PLAYED_RETRIEVE > | |
| static ListenerType | GetListenerType () |
| Returns the type of the listener. More... | |
Listener for the event of retrieving user time played.
| enum FailureReason |
|
pure virtual |
Notification for the event of a failure in retrieving user time played.
| [in] | userID | The ID of the user. |
| [in] | failureReason | The cause of the failure. |
|
pure virtual |
Notification for the event of a success in retrieving user time played.
In order to read user time played, call IStats::GetUserTimePlayed().
| [in] | userID | The ID of the user. |