GOG GALAXY SDK Documentation
ISentFriendInvitationListRetrieveListener Class Referenceabstract

Listener for the event of retrieving requested list of outgoing friend invitations. More...

#include <IFriends.h>

Inheritance diagram for ISentFriendInvitationListRetrieveListener:
[legend]

Public Types

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

Public Member Functions

virtual void OnSentFriendInvitationListRetrieveSuccess ()=0
 Notification for the event of a success in retrieving the user's list of outgoing friend invitations. More...
 
virtual void OnSentFriendInvitationListRetrieveFailure (FailureReason failureReason)=0
 Notification for the event of a failure in retrieving the user's list of outgoing friend invitations. More...
 

Additional Inherited Members

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

Detailed Description

Listener for the event of retrieving requested list of outgoing friend invitations.

Member Enumeration Documentation

◆ FailureReason

The reason of a failure in retrieving the user's list of outgoing friend invitations.

Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

Member Function Documentation

◆ OnSentFriendInvitationListRetrieveFailure()

virtual void OnSentFriendInvitationListRetrieveFailure ( FailureReason  failureReason)
pure virtual

Notification for the event of a failure in retrieving the user's list of outgoing friend invitations.

Parameters
[in]failureReasonThe cause of the failure.

◆ OnSentFriendInvitationListRetrieveSuccess()

virtual void OnSentFriendInvitationListRetrieveSuccess ( )
pure virtual

Notification for the event of a success in retrieving the user's list of outgoing friend invitations.

In order to read subsequent invitation IDs, call and IFriends::GetFriendInvitationByIndex().