GOG GALAXY SDK Documentation
ILobbyMemberDataUpdateListener Class Referenceabstract

Listener for the event of updating lobby member data. More...

#include <IMatchmaking.h>

Inheritance diagram for ILobbyMemberDataUpdateListener:
[legend]

Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED , FAILURE_REASON_LOBBY_DOES_NOT_EXIST , FAILURE_REASON_CONNECTION_FAILURE }
 The reason of a failure in updating lobby data. More...
 

Public Member Functions

virtual void OnLobbyMemberDataUpdateSuccess (const GalaxyID &lobbyID, const GalaxyID &memberID)=0
 Notification for the event of success in updating lobby member data. More...
 
virtual void OnLobbyMemberDataUpdateFailure (const GalaxyID &lobbyID, const GalaxyID &memberID, FailureReason failureReason)=0
 Notification for the failure in updating lobby member data. More...
 

Additional Inherited Members

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

Detailed Description

Listener for the event of updating lobby member data.

Member Enumeration Documentation

◆ FailureReason

The reason of a failure in updating lobby data.

Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

FAILURE_REASON_LOBBY_DOES_NOT_EXIST 

Specified lobby does not exist.

FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

Member Function Documentation

◆ OnLobbyMemberDataUpdateFailure()

virtual void OnLobbyMemberDataUpdateFailure ( const GalaxyID lobbyID,
const GalaxyID memberID,
FailureReason  failureReason 
)
pure virtual

Notification for the failure in updating lobby member data.

Parameters
[in]lobbyIDThe ID of the lobby.
[in]memberIDThe ID of the lobby member.
[in]failureReasonThe cause of the failure.

◆ OnLobbyMemberDataUpdateSuccess()

virtual void OnLobbyMemberDataUpdateSuccess ( const GalaxyID lobbyID,
const GalaxyID memberID 
)
pure virtual

Notification for the event of success in updating lobby member data.

Parameters
[in]lobbyIDThe ID of the lobby.
[in]memberIDThe ID of the lobby member.