Open 3D Engine Multiplayer Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Multiplayer::MultiplayerEditorConnection Class Referencefinal

MultiplayerEditorConnection is a connection listener to synchronize the Editor and a local server it launches. More...

#include <MultiplayerEditorConnection.h>

Inherits AzNetworking::IConnectionListener.

Public Member Functions

bool HandleRequest (AzNetworking::IConnection *connection, const AzNetworking::IPacketHeader &packetHeader, MultiplayerEditorPackets::EditorServerReadyForLevelData &packet)
 
bool HandleRequest (AzNetworking::IConnection *connection, const AzNetworking::IPacketHeader &packetHeader, MultiplayerEditorPackets::EditorServerLevelData &packet)
 
bool HandleRequest (AzNetworking::IConnection *connection, const AzNetworking::IPacketHeader &packetHeader, MultiplayerEditorPackets::EditorServerReady &packet)
 
AzNetworking::ConnectResult ValidateConnect (const AzNetworking::IpAddress &remoteAddress, const AzNetworking::IPacketHeader &packetHeader, AzNetworking::ISerializer &serializer) override
 
void OnConnect (AzNetworking::IConnection *connection) override
 
AzNetworking::PacketDispatchResult OnPacketReceived (AzNetworking::IConnection *connection, const AzNetworking::IPacketHeader &packetHeader, AzNetworking::ISerializer &serializer) override
 
void OnPacketLost ([[maybe_unused]]AzNetworking::IConnection *connection, [[maybe_unused]]AzNetworking::PacketId packetId) override
 
void OnDisconnect ([[maybe_unused]]AzNetworking::IConnection *connection, [[maybe_unused]]AzNetworking::DisconnectReason reason, [[maybe_unused]]AzNetworking::TerminationEndpoint endpoint) override
 

Detailed Description

MultiplayerEditorConnection is a connection listener to synchronize the Editor and a local server it launches.

Member Function Documentation

◆ ValidateConnect()

AzNetworking::ConnectResult Multiplayer::MultiplayerEditorConnection::ValidateConnect ( const AzNetworking::IpAddress &  remoteAddress,
const AzNetworking::IPacketHeader &  packetHeader,
AzNetworking::ISerializer &  serializer 
)
override

IConnectionListener interface


The documentation for this class was generated from the following file: