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

Public Types

using RecordBitset = AzNetworking::FixedSizeVectorBitset< MaxRecordBits >
 

Public Member Functions

 ReplicationRecord (NetEntityRole remoteNetEntityRole)
 
void SetRemoteNetworkRole (NetEntityRole remoteNetEntityRole)
 
NetEntityRole GetRemoteNetworkRole () const
 
bool AreAllBitsConsumed () const
 
void ResetConsumedBits ()
 
void Clear ()
 
void Append (const ReplicationRecord &rhs)
 
void Subtract (const ReplicationRecord &rhs)
 
bool HasChanges () const
 
bool Serialize (AzNetworking::ISerializer &serializer)
 
void ConsumeAuthorityToClientBits (uint32_t consumedBits)
 
void ConsumeAuthorityToServerBits (uint32_t consumedBits)
 
void ConsumeAuthorityToAutonomousBits (uint32_t consumedBits)
 
void ConsumeAutonomousToAuthorityBits (uint32_t consumedBits)
 
bool ContainsAuthorityToClientBits () const
 
bool ContainsAuthorityToServerBits () const
 
bool ContainsAuthorityToAutonomousBits () const
 
bool ContainsAutonomousToAuthorityBits () const
 
uint32_t GetRemainingAuthorityToClientBits () const
 
uint32_t GetRemainingAuthorityToServerBits () const
 
uint32_t GetRemainingAuthorityToAutonomousBits () const
 
uint32_t GetRemainingAutonomousToAuthorityBits () const
 
ReplicationRecordStats GetStats () const
 

Public Attributes

RecordBitset m_authorityToClient
 
RecordBitset m_authorityToServer
 
RecordBitset m_authorityToAutonomous
 
RecordBitset m_autonomousToAuthority
 
uint32_t m_authorityToClientConsumedBits = 0
 
uint32_t m_authorityToServerConsumedBits = 0
 
uint32_t m_authorityToAutonomousConsumedBits = 0
 
uint32_t m_autonomousToAuthorityConsumedBits = 0
 
AzNetworking::PacketId m_sentPacketId = AzNetworking::InvalidPacketId
 
NetEntityRole m_remoteNetEntityRole = NetEntityRole::InvalidRole
 

Static Public Attributes

static constexpr uint32_t MaxRecordBits = 2048
 

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