Open 3D Engine Multiplayer Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
A class that determines if an entity should belong to a particular INetworkEntityManager. More...
#include <IEntityDomain.h>
Inherited by Multiplayer::FullOwnershipEntityDomain, and Multiplayer::NullEntityDomain.
Public Member Functions | |
virtual void | SetAabb (const AZ::Aabb &aabb)=0 |
virtual const AZ::Aabb & | GetAabb () const =0 |
virtual bool | IsInDomain (const ConstNetworkEntityHandle &entityHandle) const =0 |
virtual void | HandleLossOfAuthoritativeReplicator (const ConstNetworkEntityHandle &entityHandle)=0 |
virtual void | DebugDraw () const =0 |
Debug draw to visualize host entity domains. | |
A class that determines if an entity should belong to a particular INetworkEntityManager.
|
pure virtual |
Retrieves the aabb representing the domain area, an invalid aabb will be returned for non-spatial domains.
Implemented in Multiplayer::NullEntityDomain, and Multiplayer::FullOwnershipEntityDomain.
|
pure virtual |
This method will be invoked whenever we unexpectedly lose the authoritative entity replicator for an entity. This gives our entity domain a chance to determine whether or not it should assume authority in this instance.
entityHandle | the network entity handle of the entity that has lost its authoritative replicator |
Implemented in Multiplayer::NullEntityDomain, and Multiplayer::FullOwnershipEntityDomain.
|
pure virtual |
Returns whether or not an entity should be owned by an entity manager.
entityHandle | the handle of the netbound entity to check |
Implemented in Multiplayer::NullEntityDomain, and Multiplayer::FullOwnershipEntityDomain.
|
pure virtual |
For domains that operate on a region of space, this sets the area the domain is responsible for.
aabb | the aabb associated with this entity domain |
Implemented in Multiplayer::NullEntityDomain, and Multiplayer::FullOwnershipEntityDomain.