Polyphase Game Engine
Loading...
Searching...
No Matches
NetHostProfile Struct Reference

#include <EngineTypes.h>

Public Attributes

NetHost mHost
 
float mPing = 0.0f
 
float mTimeSinceLastMsg = 0.0f
 
std::unordered_set< NetIdmRelevantNetIds
 
std::vector< char > mSendBuffer
 
std::vector< char > mReliableSendBuffer
 
std::vector< ReliablePacketmOutgoingPackets
 
std::vector< ReliablePacketmIncomingPackets
 
uint16_t mOutgoingReliableSeq = 0
 
uint16_t mIncomingReliableSeq = 0
 
uint16_t mOutgoingUnreliableSeq = 0
 
uint16_t mIncomingUnreliableSeq = 0
 
WeakPtr< NodemPawn
 
bool mReady = true
 

Static Public Attributes

static const uint32_t sSendBufferSize = 512
 

Member Data Documentation

◆ mHost

NetHost NetHostProfile::mHost

◆ mIncomingPackets

std::vector<ReliablePacket> NetHostProfile::mIncomingPackets

◆ mIncomingReliableSeq

uint16_t NetHostProfile::mIncomingReliableSeq = 0

◆ mIncomingUnreliableSeq

uint16_t NetHostProfile::mIncomingUnreliableSeq = 0

◆ mOutgoingPackets

std::vector<ReliablePacket> NetHostProfile::mOutgoingPackets

◆ mOutgoingReliableSeq

uint16_t NetHostProfile::mOutgoingReliableSeq = 0

◆ mOutgoingUnreliableSeq

uint16_t NetHostProfile::mOutgoingUnreliableSeq = 0

◆ mPawn

WeakPtr<Node> NetHostProfile::mPawn

◆ mPing

float NetHostProfile::mPing = 0.0f

◆ mReady

bool NetHostProfile::mReady = true

◆ mRelevantNetIds

std::unordered_set<NetId> NetHostProfile::mRelevantNetIds

◆ mReliableSendBuffer

std::vector<char> NetHostProfile::mReliableSendBuffer

◆ mSendBuffer

std::vector<char> NetHostProfile::mSendBuffer

◆ mTimeSinceLastMsg

float NetHostProfile::mTimeSinceLastMsg = 0.0f

◆ sSendBufferSize

const uint32_t NetHostProfile::sSendBufferSize = 512
static

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