GOG GALAXY SDK Documentation
IGameJoinRequestedListener Class Referenceabstract

Event of requesting a game join by user. More...

#include <IFriends.h>

Inheritance diagram for IGameJoinRequestedListener:
[legend]

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Event of requesting a game join by user.

This can be triggered by accepting a game invitation or by user's request to join a friend's game.

Member Function Documentation

◆ OnGameJoinRequested()

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

Notification for the event of accepting a game invitation.

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