GOG GALAXY SDK Documentation
IUserInformationRetrieveListener Class Referenceabstract

Listener for the event of retrieving requested user's information. More...

#include <IFriends.h>

Inheritance diagram for IUserInformationRetrieveListener:
[legend]

Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED , FAILURE_REASON_CONNECTION_FAILURE }
 The reason of a failure in retrieving the user's information. More...
 

Public Member Functions

virtual void OnUserInformationRetrieveSuccess (GalaxyID userID)=0
 Notification for the event of a success in retrieving the user's information. More...
 
virtual void OnUserInformationRetrieveFailure (GalaxyID userID, FailureReason failureReason)=0
 Notification for the event of a failure in retrieving the user's information. More...
 

Additional Inherited Members

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

Detailed Description

Listener for the event of retrieving requested user's information.

Member Enumeration Documentation

◆ FailureReason

The reason of a failure in retrieving the user's information.

Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

Member Function Documentation

◆ OnUserInformationRetrieveFailure()

virtual void OnUserInformationRetrieveFailure ( GalaxyID  userID,
FailureReason  failureReason 
)
pure virtual

Notification for the event of a failure in retrieving the user's information.

Parameters
[in]userIDThe ID of the user.
[in]failureReasonThe cause of the failure.

◆ OnUserInformationRetrieveSuccess()

virtual void OnUserInformationRetrieveSuccess ( GalaxyID  userID)
pure virtual

Notification for the event of a success in retrieving the user's information.

Parameters
[in]userIDThe ID of the user.