GOG GALAXY SDK Documentation
|
Listener for the event of leaving a lobby. More...
#include <IMatchmaking.h>
Public Types | |
enum | LobbyLeaveReason { LOBBY_LEAVE_REASON_UNDEFINED , LOBBY_LEAVE_REASON_USER_LEFT , LOBBY_LEAVE_REASON_LOBBY_CLOSED , LOBBY_LEAVE_REASON_CONNECTION_LOST } |
The reason of leaving a lobby. More... | |
Public Member Functions | |
virtual void | OnLobbyLeft (const GalaxyID &lobbyID, LobbyLeaveReason leaveReason)=0 |
Notification for the event of leaving lobby. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from GalaxyTypeAwareListener< LOBBY_LEFT > | |
static ListenerType | GetListenerType () |
Returns the type of the listener. More... | |
Listener for the event of leaving a lobby.
enum LobbyLeaveReason |
The reason of leaving a lobby.
Enumerator | |
---|---|
LOBBY_LEAVE_REASON_UNDEFINED | Unspecified error. |
LOBBY_LEAVE_REASON_USER_LEFT | The user has left the lobby as a result of calling IMatchmaking::LeaveLobby(). |
LOBBY_LEAVE_REASON_LOBBY_CLOSED | The lobby has been closed (e.g. the owner has left the lobby without host migration). |
LOBBY_LEAVE_REASON_CONNECTION_LOST | The Peer has lost the connection. |
|
pure virtual |
Notification for the event of leaving lobby.
[in] | lobbyID | The ID of the lobby. |
[in] | leaveReason | The cause of leaving the lobby. |