GOG GALAXY SDK Documentation
|
Listener for the event of responding to a friend invitation. More...
#include <IFriends.h>
Public Types | |
enum | FailureReason { FAILURE_REASON_UNDEFINED , FAILURE_REASON_USER_DOES_NOT_EXIST , FAILURE_REASON_FRIEND_INVITATION_DOES_NOT_EXIST , FAILURE_REASON_USER_ALREADY_FRIEND , FAILURE_REASON_CONNECTION_FAILURE } |
The reason of a failure in responding to a friend invitation. More... | |
Public Member Functions | |
virtual void | OnFriendInvitationRespondToSuccess (GalaxyID userID, bool accept)=0 |
Notification for the event of a success in responding to a friend invitation. More... | |
virtual void | OnFriendInvitationRespondToFailure (GalaxyID userID, FailureReason failureReason)=0 |
Notification for the event of a failure in responding to a friend invitation. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from GalaxyTypeAwareListener< FRIEND_INVITATION_RESPOND_TO_LISTENER > | |
static ListenerType | GetListenerType () |
Returns the type of the listener. More... | |
Listener for the event of responding to a friend invitation.
enum FailureReason |
The reason of a failure in responding to a friend invitation.
|
pure virtual |
Notification for the event of a failure in responding to a friend invitation.
[in] | userID | The ID of the user who sent the invitation. |
[in] | failureReason | The cause of the failure. |
|
pure virtual |
Notification for the event of a success in responding to a friend invitation.
[in] | userID | The ID of the user who sent the invitation. |
[in] | accept | True when accepting the invitation, false when declining. |