GOG GALAXY SDK Documentation
ILobbyCreatedListener Class Referenceabstract

Listener for the event of creating a lobby. More...

#include <IMatchmaking.h>

Inheritance diagram for ILobbyCreatedListener:
[legend]

Public Member Functions

virtual void OnLobbyCreated (const GalaxyID &lobbyID, LobbyCreateResult result)=0
 Notification for the event of creating a lobby. More...
 

Additional Inherited Members

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

Detailed Description

Listener for the event of creating a lobby.

Member Function Documentation

◆ OnLobbyCreated()

virtual void OnLobbyCreated ( const GalaxyID lobbyID,
LobbyCreateResult  result 
)
pure virtual

Notification for the event of creating a lobby.

When the lobby is successfully created it is joined and ready to use. Since the lobby is entered automatically, an explicit notification for ILobbyEnteredListener will follow immediately.

Parameters
[in]lobbyIDThe ID of the lobby.
[in]resultlobby create result.