GOG GALAXY SDK Documentation
IFriendDeleteListener Class Referenceabstract

Listener for the event of removing a user from the friend list. More...

#include <IFriends.h>

Inheritance diagram for IFriendDeleteListener:
[legend]

Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED , FAILURE_REASON_CONNECTION_FAILURE }
 The reason of a failure in removing a user from the friend list. More...
 

Public Member Functions

virtual void OnFriendDeleteSuccess (GalaxyID userID)=0
 Notification for the event of a success in removing a user from the friend list. More...
 
virtual void OnFriendDeleteFailure (GalaxyID userID, FailureReason failureReason)=0
 Notification for the event of a failure in removing a user from the friend list. More...
 

Additional Inherited Members

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

Detailed Description

Listener for the event of removing a user from the friend list.

Member Enumeration Documentation

◆ FailureReason

The reason of a failure in removing a user from the friend list.

Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

Member Function Documentation

◆ OnFriendDeleteFailure()

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

Notification for the event of a failure in removing a user from the friend list.

Parameters
[in]userIDThe ID of the user requested to be removed from the friend list.
[in]failureReasonThe cause of the failure.

◆ OnFriendDeleteSuccess()

virtual void OnFriendDeleteSuccess ( GalaxyID  userID)
pure virtual

Notification for the event of a success in removing a user from the friend list.

Parameters
[in]userIDThe ID of the user requested to be removed from the friend list.