GOG GALAXY SDK Documentation
IStatsAndAchievementsStoreListener Class Referenceabstract

Listener for the event of storing own statistics and achievements. More...

#include <IStats.h>

Inheritance diagram for IStatsAndAchievementsStoreListener:
[legend]

Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED , FAILURE_REASON_CONNECTION_FAILURE }
 The reason of a failure in storing statistics and achievements. More...
 

Public Member Functions

virtual void OnUserStatsAndAchievementsStoreSuccess ()=0
 Notification for the event of success in storing statistics and achievements.
 
virtual void OnUserStatsAndAchievementsStoreFailure (FailureReason failureReason)=0
 Notification for the event of a failure in storing statistics and achievements. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< STATS_AND_ACHIEVEMENTS_STORE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 

Detailed Description

Listener for the event of storing own statistics and achievements.

Member Enumeration Documentation

◆ FailureReason

The reason of a failure in storing statistics and achievements.

Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

Member Function Documentation

◆ OnUserStatsAndAchievementsStoreFailure()

virtual void OnUserStatsAndAchievementsStoreFailure ( FailureReason  failureReason)
pure virtual

Notification for the event of a failure in storing statistics and achievements.

Parameters
[in]failureReasonThe cause of the failure.