GOG GALAXY SDK Documentation
IGameInvitationReceivedListener Class Referenceabstract

Event of receiving a game invitation. More...

#include <IFriends.h>

Inheritance diagram for IGameInvitationReceivedListener:
[legend]

Public Member Functions

virtual void OnGameInvitationReceived (GalaxyID userID, const char *connectionString)=0
 Notification for the event of receiving a game invitation. More...
 

Additional Inherited Members

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

Detailed Description

Event of receiving a game invitation.

This can be triggered by receiving connection string.

Member Function Documentation

◆ OnGameInvitationReceived()

virtual void OnGameInvitationReceived ( GalaxyID  userID,
const char *  connectionString 
)
pure virtual

Notification for the event of receiving a game invitation.

Parameters
[in]userIDThe ID of the user who sent invitation.
[in]connectionStringThe string which contains connection info.