PlayTestLocalSession class
Base classes
- class Jazz2::Multiplayer::INetworkHandler
- Interface to handle incomming network requests.
Constructors, destructors, conversion operators
- PlayTestLocalSession(const PlayTestOptions& options) explicit
- ~PlayTestLocalSession() virtual
Public functions
-
auto OnPeerConnected(const Multiplayer::
Peer& peer, std:: uint32_t clientData) -> Multiplayer:: ConnectionResult override - Called when a peer connects to the local server or the local client connects to a server.
-
void OnPeerDisconnected(const Multiplayer::
Peer& peer, Multiplayer:: Reason reason) override - Called when a peer disconnects from the local server or the local client disconnects from a server.
-
void OnPacketReceived(const Multiplayer::
Peer& peer, std:: uint8_t channelId, std:: uint8_t packetType, ArrayView<const std:: uint8_t> data) override - Called when a packet is received.