Runtime/Net/Public/NetTypes.h file

Namespaces

namespace PacketFlag
namespace InputDeltaFlags

Classes

struct PacketHeader
template<typename TDerived>
struct BaseNetPayload
struct EntitySpawnPayload
struct StateCorrectionEntry
struct ConstructSpawnPayload
struct HandshakePayload
struct FlowEventPayload
struct PlayerBeginRequestPayload
struct PlayerBeginConfirmPayload
struct PlayerBeginRejectPayload
struct RPCHeader
struct RPCContext
struct PlayerBeginResult
struct ClockSyncPayload
struct TravelPayload
struct StreamLoadPayload
struct StreamReadyPayload
struct ChunkActivatePayload
template<typename TDerived>
struct GameModeManifestPayload
template<typename TDerived>
struct ClientModeManifestPayload
struct PredictionLedger
struct PredictionLedger::Entry
struct NetInputEvent
struct InputSnapshot
struct NetInputFrame
struct InputDeltaPacketHeader
struct InputWindowPacket

Enums

enum class NetMessageType: uint8_t { ConnectionHandshake = 0, InputFrame = 1, StateCorrection = 2, EntitySpawn = 3, EntityDestroy = 4, Ping = 5, Pong = 6, FlowEvent = 7, PlayerBeginRequest = 8, PlayerBeginConfirm = 9, PlayerBeginReject = 10, ClockSync = 11, TravelNotify = 12, LevelReady = 13, GameModeManifest = 14, ClientModeManifest = 15, SoulRPC = 16, ConstructSpawn = 17, ConstructDestroy = 18, EntityDelta = 19, InputFrameDelta = 20, EntityActivate = 21, StreamLoad = 22, StreamReady = 23, ChunkActivate = 24, Custom = 25, Unknown = 26, Count }
enum class ClientRepState: uint8_t { PendingHandshake = 0, Synchronizing = 1, Loading = 2, LevelLoading = 3, LevelLoaded = 4, Loaded = 5, Playing = 6 }
enum class FlowEventID: uint8_t { TravelNotify = 0, ServerReady = 1, PlayerBeginConfirm = 2, PlayerBeginReject = 3 }

Functions

auto NetMessageTypeName(uint8_t type) -> const char*

Variables

static size_t PacketType_Bytes constexpr
static size_t PacketFlags_Bytes constexpr
static size_t PayloadSize_Bytes constexpr
static size_t SequenceNum_Bytes constexpr
static size_t FrameNumber_Bytes constexpr
static size_t SenderID_Bytes constexpr
static size_t Timestamp_Bytes constexpr
static size_t AckSequenceNum_Bytes constexpr
static size_t AckBitfield_Bytes constexpr
static size_t AckedClientFrame_Bytes constexpr
static size_t PacketHeader_ExpectedSize constexpr
static uint32_t MaxWindowFrames constexpr