Inherits AzFramework::EntityOwnershipService.
Additional Inherited Members | |
Public Types inherited from AzFramework::EntityOwnershipService | |
using | EntityIdToEntityIdMap = AZStd::unordered_map< AZ::EntityId, AZ::EntityId > |
Public Member Functions inherited from AzFramework::EntityOwnershipService | |
virtual void | Initialize ()=0 |
Initializes all assets/entities/components required for managing entities. | |
virtual bool | IsInitialized ()=0 |
Returns true if the entity ownership service is initialized. | |
virtual void | Destroy ()=0 |
Destroys all the assets/entities/components created for managing entities. | |
virtual void | Reset ()=0 |
Resets the assets/entities/components without fully destroying them for managing entities. | |
virtual void | AddEntity (AZ::Entity *entity)=0 |
virtual void | AddEntities (const EntityList &entities)=0 |
virtual bool | DestroyEntity (AZ::Entity *entity)=0 |
virtual bool | DestroyEntityById (AZ::EntityId entityId)=0 |
virtual void | GetNonPrefabEntities (EntityList &entityList)=0 |
virtual bool | GetAllEntities (EntityList &entityList)=0 |
virtual void | InstantiateAllPrefabs ()=0 |
virtual void | HandleEntitiesAdded (const EntityList &entities)=0 |
virtual bool | LoadFromStream (AZ::IO::GenericStream &stream, bool remapIds, EntityIdToEntityIdMap *idRemapTable=nullptr, const AZ::ObjectStream::FilterDescriptor &filterDesc=AZ::ObjectStream::FilterDescriptor())=0 |
virtual void | SetEntitiesAddedCallback (OnEntitiesAddedCallback onEntitiesAddedCallback)=0 |
virtual void | SetEntitiesRemovedCallback (OnEntitiesRemovedCallback onEntitiesRemovedCallback)=0 |
virtual void | SetValidateEntitiesCallback (ValidateEntitiesCallback validateEntitiesCallback)=0 |
virtual void | HandleEntityBeingDestroyed (const AZ::EntityId &entityId)=0 |
Public Attributes inherited from AzFramework::EntityOwnershipService | |
bool | m_shouldAssertForLegacySlicesUsage = false |
Protected Attributes inherited from AzFramework::EntityOwnershipService | |
OnEntitiesAddedCallback | m_entitiesAddedCallback |
OnEntitiesRemovedCallback | m_entitiesRemovedCallback |
ValidateEntitiesCallback | m_validateEntitiesCallback |