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

Inherits Handler.

Public Member Functions

 EntityReplicator (EntityReplicationManager &replicationManager, AzNetworking::IConnection *connection, NetEntityRole remoteNetworkRole, const ConstNetworkEntityHandle &entityHandle)
 
NetEntityRole GetBoundLocalNetworkRole () const
 
NetEntityRole GetRemoteNetworkRole () const
 
ConstNetworkEntityHandle GetEntityHandle () const
 
NetBindComponentGetNetBindComponent ()
 
void ActivateNetworkEntity ()
 
const PrefabEntityIdGetPrefabEntityId () const
 
bool IsPrefabEntityIdSet () const
 
bool OwnsReplicatorLifetime () const
 
bool RemoteManagerOwnsEntityLifetime () const
 
void Initialize (const ConstNetworkEntityHandle &entityHandle)
 
void Reset (NetEntityRole remoteNetworkRole)
 
void MarkForRemoval ()
 
bool IsMarkedForRemoval () const
 
void SetPendingRemoval (AZ::TimeMs pendingRemovalTimeMs)
 
bool IsPendingRemoval () const
 
void ClearPendingRemoval ()
 
bool IsDeletionAcknowledged () const
 
bool WasMigrated () const
 
void SetWasMigrated (bool wasMigrated)
 
bool IsReadyToActivate () const
 
NetworkEntityUpdateMessage GenerateUpdatePacket ()
 
void FinalizeSerialization (AzNetworking::PacketId sentId)
 
AZ::TimeMs GetResendTimeoutTimeMs () const
 
PropertyPublisherGetPropertyPublisher ()
 
const PropertyPublisherGetPropertyPublisher () const
 
PropertySubscriberGetPropertySubscriber ()
 
bool HandleRpcMessage (AzNetworking::IConnection *invokingConnection, NetworkEntityRpcMessage &entityRpcMessage)
 
void OnEntityActivated (const AZ::EntityId &) override
 
void OnEntityDestroyed (const AZ::EntityId &) override
 

Member Function Documentation

void Multiplayer::EntityReplicator::OnEntityActivated ( const AZ::EntityId &  )
override

AZ::EntityBus overrides


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