GOG GALAXY SDK Documentation
ILobbyMessageListener Class Referenceabstract

Listener for the event of receiving a lobby message. More...

#include <IMatchmaking.h>

Inheritance diagram for ILobbyMessageListener:
[legend]

Public Member Functions

virtual void OnLobbyMessageReceived (const GalaxyID &lobbyID, const GalaxyID &senderID, uint32_t messageID, uint32_t messageLength)=0
 Notification for the event of receiving a lobby message. More...
 

Additional Inherited Members

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

Detailed Description

Listener for the event of receiving a lobby message.

Member Function Documentation

◆ OnLobbyMessageReceived()

virtual void OnLobbyMessageReceived ( const GalaxyID lobbyID,
const GalaxyID senderID,
uint32_t  messageID,
uint32_t  messageLength 
)
pure virtual

Notification for the event of receiving a lobby message.

To read the message you need to call IMatchmaking::GetLobbyMessage().

Parameters
[in]lobbyIDThe ID of the lobby.
[in]senderIDThe ID of the sender.
[in]messageIDThe ID of the message.
[in]messageLengthLength of the message.