GOG GALAXY SDK Documentation
|
Listener for the event of sending a friend invitation. More...
#include <IFriends.h>
Public Types | |
enum | FailureReason { FAILURE_REASON_UNDEFINED , FAILURE_REASON_USER_DOES_NOT_EXIST , FAILURE_REASON_USER_ALREADY_INVITED , FAILURE_REASON_USER_ALREADY_FRIEND , FAILURE_REASON_CONNECTION_FAILURE } |
The reason of a failure in sending a friend invitation. More... | |
Public Member Functions | |
virtual void | OnFriendInvitationSendSuccess (GalaxyID userID)=0 |
Notification for the event of a success in sending a friend invitation. More... | |
virtual void | OnFriendInvitationSendFailure (GalaxyID userID, FailureReason failureReason)=0 |
Notification for the event of a failure in sending a friend invitation. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from GalaxyTypeAwareListener< FRIEND_INVITATION_SEND_LISTENER > | |
static ListenerType | GetListenerType () |
Returns the type of the listener. More... | |
Listener for the event of sending a friend invitation.
enum FailureReason |
The reason of a failure in sending a friend invitation.
|
pure virtual |
Notification for the event of a failure in sending a friend invitation.
[in] | userID | The ID of the user to whom the invitation was being sent. |
[in] | failureReason | The cause of the failure. |
|
pure virtual |
Notification for the event of a success in sending a friend invitation.
[in] | userID | The ID of the user to whom the invitation was being sent. |