GOG GALAXY SDK Documentation
INetworkingListener Class Referenceabstract

Listener for the events related to packets that come to the client. More...

#include <INetworking.h>

Inheritance diagram for INetworkingListener:
[legend]

Public Member Functions

virtual void OnP2PPacketAvailable (uint32_t msgSize, uint8_t channel)=0
 Notification for the event of receiving a packet. More...
 

Additional Inherited Members

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

Detailed Description

Listener for the events related to packets that come to the client.

Member Function Documentation

◆ OnP2PPacketAvailable()

virtual void OnP2PPacketAvailable ( uint32_t  msgSize,
uint8_t  channel 
)
pure virtual

Notification for the event of receiving a packet.

Parameters
[in]msgSizeThe length of the message.
[in]channelThe number of the channel used.