Navigation
API > API/Runtime > API/Runtime/MassEntity
Inheritance Hierarchy
- IEntityStorageInterface
- FConcurrentEntityStorage
- FSingleThreadedEntityStorage
References
| Module | MassEntity |
| Header | /Engine/Source/Runtime/MassEntity/Public/MassEntityManagerStorage.h |
| Include | #include "MassEntityManagerStorage.h" |
Syntax
class IEntityStorageInterface
Remarks
Interface that abstracts the storage system for Mass Entities in the EntityManager This may be temporary until the concurrent mechanism has been vetted for performance
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | Acquire
(
TArrayView< FMassEntityHandle > OutEntityHandles |
||
| int32 | Acquire
(
const int32 Count, |
||
| FMassEntityHandle | AcquireOne () |
||
| int32 | Returns the number of entities that are free For debug purposes only. | ||
| int32 | ForceRelease
(
TConstArrayView< FMassEntityHandle > Handles |
Bypasses Serial Number Check Only use if caller has ensured serial number matches or for debug purposes | |
| int32 | ForceReleaseOne
(
FMassEntityHandle Handle |
||
| SIZE_T | |||
| const FMassArchetypeData * | GetArchetype
(
int32 Index |
||
| FMassArchetypeData * | GetArchetype
(
int32 Index |
||
| const TSharedPtr< FMassArchetypeData > & | GetArchetypeAsShared
(
int32 Index |
||
| TSharedPtr< FMassArchetypeData > & | GetArchetypeAsShared
(
int32 Index |
||
| EEntityState | GetEntityState
(
int32 Index |
Returns true if the given entity at index is currently reserved False if free or assigned an archetype | |
| int32 | GetSerialNumber
(
int32 Index |
||
| bool | Checks if entity at Index is built. | ||
| bool | IsValidIndex
(
int32 Index |
Checks if index can be used to access entity data. | |
| int32 | Num () |
Returns the number of entities that are not free For debug purposes only. | |
| int32 | Release
(
TConstArrayView< FMassEntityHandle > Handles |
||
| int32 | ReleaseOne
(
FMassEntityHandle Handles |
||
| void | SetArchetypeFromShared
(
int32 Index, |
||
| void | SetArchetypeFromShared
(
int32 Index, |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EEntityState |