![]() |
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.
|
#include <ReplicaUpdateTasks.h>
Inherits GridMate::ReplicaTask.
Inherited by GridMate::ReplicaUpdateDestroyedProxyTask, and GridMate::ReplicaUpdateTask.
Protected Member Functions | |
ReplicaUpdateTaskBase (ReplicaPtr replica) | |
bool | ProcessRPCs (const ReplicaContext &rc) |
bool | TryMigrate (ReplicaManager *rm, const ReplicaContext &rc) |
void | DestroyReplica (ReplicaManager *rm, const ReplicaContext &rc) |
Additional Inherited Members | |
![]() | |
enum | TaskStatus { Done, Repeat } |
typedef AZ::u64 | PriorityType |
![]() | |
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 const unsigned int | k_ageScale = 10 |
![]() | |
ReplicaPtr | m_replica |
Base class for all replica update tasks. Holding reference to replica, and providing it's subclasses access to replica's internals.