A class that determines if an entity should belong to a particular INetworkEntityManager.
More...
#include <IEntityDomain.h>
A class that determines if an entity should belong to a particular INetworkEntityManager.
◆ GetAabb()
| virtual const AZ::Aabb& Multiplayer::IEntityDomain::GetAabb |
( |
| ) |
const |
|
pure virtual |
Retrieves the aabb representing the domain area, an invalid aabb will be returned for non-spatial domains.
- Returns
- the aabb associated with this entity domain
◆ HandleLossOfAuthoritativeReplicator()
| virtual void Multiplayer::IEntityDomain::HandleLossOfAuthoritativeReplicator |
( |
const ConstNetworkEntityHandle & |
entityHandle | ) |
|
|
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.
- Parameters
-
| entityHandle | the network entity handle of the entity that has lost its authoritative replicator |
◆ IsInDomain()
Returns whether or not an entity should be owned by an entity manager.
- Parameters
-
| entityHandle | the handle of the netbound entity to check |
- Returns
- false if this entity should not belong to the entity manger, true if it could be owned by the entity manager
◆ SetAabb()
| virtual void Multiplayer::IEntityDomain::SetAabb |
( |
const AZ::Aabb & |
aabb | ) |
|
|
pure virtual |
For domains that operate on a region of space, this sets the area the domain is responsible for.
- Parameters
-
| aabb | the aabb associated with this entity domain |
The documentation for this class was generated from the following file:
- Gems/Multiplayer/Code/Include/Multiplayer/EntityDomains/IEntityDomain.h