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::RewindableArray< TYPE, SIZE > Class Template Reference

Data structure that has a compile-time upper bound, provides array semantics and supports network serialization. More...

#include <RewindableArray.h>

Inherits AZStd::array< RewindableObject< TYPE, Multiplayer::RewindHistorySize >, SIZE >.

Public Member Functions

bool Serialize (AzNetworking::ISerializer &serializer)
 
bool Serialize (AzNetworking::ISerializer &serializer, AzNetworking::IBitset &deltaRecord)
 

Detailed Description

template<typename TYPE, uint32_t SIZE>
class Multiplayer::RewindableArray< TYPE, SIZE >

Data structure that has a compile-time upper bound, provides array semantics and supports network serialization.

Member Function Documentation

◆ Serialize() [1/2]

template<typename TYPE , uint32_t SIZE>
bool Multiplayer::RewindableArray< TYPE, SIZE >::Serialize ( AzNetworking::ISerializer &  serializer)

Serialization method for array contained rewindable objects

Parameters
serializerISerializer instance to use for serialization
Returns
bool true for success, false for serialization failure

◆ Serialize() [2/2]

template<typename TYPE , uint32_t SIZE>
bool Multiplayer::RewindableArray< TYPE, SIZE >::Serialize ( AzNetworking::ISerializer &  serializer,
AzNetworking::IBitset &  deltaRecord 
)

Serialization method for array contained rewindable objects

Parameters
serializerISerializer instance to use for serialization
deltaRecordBitset delta record used to detect state change during reconciliation
Returns
bool true for success, false for serialization failure

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