Open 3D Engine GridMate API Reference  2205.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Protected Member Functions | List of all members
GridMate::ReplicaMarshalTaskBase Class Reference

#include <ReplicaMarshalTasks.h>

Inherits GridMate::ReplicaTask.

Inherited by GridMate::ReplicaMarshalTask, and GridMate::ReplicaMarshalZombieTask.

Protected Member Functions

 ReplicaMarshalTaskBase (ReplicaPtr replica)
 
void MarshalNewReplica (Replica *replica, ReservedIds cmdId, WriteBuffer &outBuffer)
 
PrepareDataResult PrepareData (ReplicaPtr replica, EndianType endianType)
 
ReplicaPeerGetUpstreamHop ()
 
list< Internal::RpcRequest * > & GetRPCQueue ()
 
virtual bool CanUpstream () const
 
virtual void ResetMarshalState ()
 
virtual void OnSendReplicaBegin ()
 
virtual void OnSendReplicaEnd (ReplicaPeer *to, const void *data, size_t len)
 

Additional Inherited Members

- Public Types inherited from GridMate::ReplicaTask
enum  TaskStatus { Done, Repeat }
 
typedef AZ::u64 PriorityType
 
- Public Member Functions inherited from GridMate::ReplicaTask
virtual TaskStatus Run (const RunContext &context)=0
 
void Cancel ()
 
bool IsCancelled () const
 
unsigned int GetAge () const
 
void SetAge (unsigned int age)
 
ReplicaPtr GetReplica () const
 
void SetPriority (PriorityType priority)
 
PriorityType GetPriority () const
 
- Static Public Attributes inherited from GridMate::ReplicaTask
static const unsigned int k_ageScale = 10
 
- Protected Attributes inherited from GridMate::ReplicaTask
ReplicaPtr m_replica
 

Detailed Description

ReplicaMarshalTaskBase: Base class for all replica marshaling tasks. Holding reference to replica, and providing it's subclasses access to replica's internals.


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