|
| | FMassArchetypeData (const FMassArchetypeCreationParams &CreationParams=FMassArchetypeCreationParams()) |
| |
| TConstArrayView< FMassArchetypeFragmentConfig > | GetFragmentConfigs () const |
| |
| const FMassFragmentBitSet & | GetFragmentBitSet () const |
| |
| const FMassTagBitSet & | GetTagBitSet () const |
| |
| const FMassChunkFragmentBitSet & | GetChunkFragmentBitSet () const |
| |
| const FMassSharedFragmentBitSet & | GetSharedFragmentBitSet () const |
| |
| const FMassConstSharedFragmentBitSet & | GetConstSharedFragmentBitSet () const |
| |
| const FMassArchetypeCompositionDescriptor & | GetCompositionDescriptor () const |
| |
| FORCEINLINE const FMassArchetypeSharedFragmentValues & | GetSharedFragmentValues (int32 EntityIndex) const |
| |
| FORCEINLINE const FMassArchetypeSharedFragmentValues & | GetSharedFragmentValues (FMassEntityHandle Entity) const |
| |
| const UE::Mass::FArchetypeGroups & | GetGroups () const |
| |
| bool | IsInGroup (const UE::Mass::FArchetypeGroupHandle GroupHandle) const |
| |
| bool | IsInGroupOfType (const UE::Mass::FArchetypeGroupType GroupType) const |
| |
| void | ForEachFragmentType (TFunction< void(const UScriptStruct *)> Function) const |
| |
| bool | HasFragmentType (const UScriptStruct *FragmentType) const |
| |
| bool | HasTagType (const UScriptStruct *FragmentType) const |
| |
| bool | IsEquivalent (const FMassArchetypeCompositionDescriptor &OtherCompositionDescriptor, const UE::Mass::FArchetypeGroups &OtherGroups) const |
| |
| void | Initialize (const FMassEntityManager &EntityManager, const FMassArchetypeCompositionDescriptor &InCompositionDescriptor, const uint32 ArchetypeDataVersion) |
| |
| void | InitializeWithSimilar (const FMassEntityManager &EntityManager, const FMassArchetypeData &BaseArchetype, FMassArchetypeCompositionDescriptor &&NewComposition, const UE::Mass::FArchetypeGroups &InGroups, const uint32 ArchetypeDataVersion) |
| |
| void | AddEntity (FMassEntityHandle Entity, const FMassArchetypeSharedFragmentValues &InSharedFragmentValues) |
| |
| void | RemoveEntity (FMassEntityHandle Entity) |
| |
| bool | HasFragmentDataForEntity (const UScriptStruct *FragmentType, int32 EntityIndex) const |
| |
| void * | GetFragmentDataForEntityChecked (const UScriptStruct *FragmentType, int32 EntityIndex) const |
| |
| void * | GetFragmentDataForEntity (const UScriptStruct *FragmentType, int32 EntityIndex) const |
| |
| FORCEINLINE const int32 * | GetInternalIndexForEntity (const int32 EntityIndex) const |
| |
| FORCEINLINE int32 | GetInternalIndexForEntityChecked (const int32 EntityIndex) const |
| |
| int32 | GetNumEntitiesPerChunk () const |
| |
| SIZE_T | GetBytesPerEntity () const |
| |
| int32 | GetNumEntities () const |
| |
| SIZE_T | GetChunkAllocSize () const |
| |
| int32 | GetChunkCount () const |
| |
| int32 | GetNonEmptyChunkCount () const |
| |
| int32 | CalculateRangeLength (FMassArchetypeEntityCollection::FArchetypeEntityRange EntityRange) const |
| |
| uint32 | GetCreatedArchetypeDataVersion () const |
| |
| uint32 | GetEntityOrderVersion () const |
| |
| void | ExecuteFunction (FMassExecutionContext &RunContext, const FMassExecuteFunction &Function, const FMassQueryRequirementIndicesMapping &RequirementMapping, FMassArchetypeEntityCollection::FConstEntityRangeArrayView EntityRangeContainer, const FMassChunkConditionFunction &ChunkCondition) |
| |
| void | ExecuteFunction (FMassExecutionContext &RunContext, const FMassExecuteFunction &Function, const FMassQueryRequirementIndicesMapping &RequirementMapping, const FMassChunkConditionFunction &ChunkCondition, UE::Mass::FExecutionLimiter *ExecutionLimiter=nullptr) |
| |
| void | ExecutionFunctionForChunk (FMassExecutionContext &RunContext, const FMassExecuteFunction &Function, const FMassQueryRequirementIndicesMapping &RequirementMapping, const FMassArchetypeEntityCollection::FArchetypeEntityRange &EntityRange, const FMassChunkConditionFunction &ChunkCondition=FMassChunkConditionFunction()) |
| |
| int32 | CompactEntities (const double TimeAllowed) |
| |
| void | MoveEntityToAnotherArchetype (const FMassEntityHandle Entity, FMassArchetypeData &NewArchetype, const FMassArchetypeSharedFragmentValues *SharedFragmentValuesOverride=nullptr) |
| |
| void | SetFragmentsData (const FMassEntityHandle Entity, TArrayView< const FInstancedStruct > FragmentSources) |
| |
| void | SetFragmentData (FMassArchetypeEntityCollection::FConstEntityRangeArrayView EntityRangeContainer, const FInstancedStruct &FragmentSource) |
| |
| void | GetRequirementsFragmentMapping (TConstArrayView< FMassFragmentRequirementDescription > Requirements, FMassFragmentIndicesMapping &OutFragmentIndices) const |
| |
| void | GetRequirementsChunkFragmentMapping (TConstArrayView< FMassFragmentRequirementDescription > ChunkRequirements, FMassFragmentIndicesMapping &OutFragmentIndices) const |
| |
| void | GetRequirementsConstSharedFragmentMapping (TConstArrayView< FMassFragmentRequirementDescription > Requirements, FMassFragmentIndicesMapping &OutFragmentIndices) const |
| |
| void | GetRequirementsSharedFragmentMapping (TConstArrayView< FMassFragmentRequirementDescription > Requirements, FMassFragmentIndicesMapping &OutFragmentIndices) const |
| |
| SIZE_T | GetAllocatedSize () const |
| |
| void | ExportEntityHandles (const TConstArrayView< FMassArchetypeEntityCollection::FArchetypeEntityRange > Ranges, TArray< FMassEntityHandle > &InOutHandles) const |
| |
| void | ExportEntityHandles (TArray< FMassEntityHandle > &InOutHandles) const |
| |
| FString | DebugGetDescription () const |
| |
| void | CopyDebugNamesFrom (const FMassArchetypeData &Other) |
| |
| void | SetDebugColor (const FColor InDebugColor) |
| |
| void | REMOVEME_GetArrayViewForFragmentInChunk (int32 ChunkIndex, const UScriptStruct *FragmentType, void *&OutChunkBase, int32 &OutNumEntities) |
| |
| FORCEINLINE const int32 * | GetFragmentIndex (const UScriptStruct *FragmentType) const |
| |
| FORCEINLINE int32 | GetFragmentIndexChecked (const UScriptStruct *FragmentType) const |
| |
| FORCEINLINE void * | GetFragmentData (const int32 FragmentIndex, const FMassRawEntityInChunkData RawEntityInChunkHandle) const |
| |
| FORCEINLINE bool | IsValidHandle (const FMassEntityInChunkDataHandle Handle) const |
| |
| FORCEINLINE void * | GetFragmentData (const int32 FragmentIndex, const FMassEntityInChunkDataHandle EntityInChunkHandle) const |
| |
| FORCEINLINE FMassRawEntityInChunkData | MakeRawEntityHandle (int32 EntityIndex) const |
| |
| FORCEINLINE FMassRawEntityInChunkData | MakeRawEntityHandle (const FMassEntityHandle Entity) const |
| |
| FORCEINLINE FMassEntityInChunkDataHandle | MakeEntityHandle (int32 EntityIndex) const |
| |
| FORCEINLINE FMassEntityInChunkDataHandle | MakeEntityHandle (const FMassEntityHandle Entity) const |
| |
| bool | IsInitialized () const |
| |
| void | BatchDestroyEntityChunks (FMassArchetypeEntityCollection::FConstEntityRangeArrayView EntityRangeContainer, TArray< FMassEntityHandle > &OutEntitiesRemoved) |
| |
| void | BatchAddEntities (TConstArrayView< FMassEntityHandle > Entities, const FMassArchetypeSharedFragmentValues &SharedFragmentValues, TArray< FMassArchetypeEntityCollection::FArchetypeEntityRange > &OutNewRanges) |
| |
| void | BatchMoveEntitiesToAnotherArchetype (const FMassArchetypeEntityCollection &EntityCollection, FMassArchetypeData &NewArchetype, TArray< FMassEntityHandle > &OutEntitiesBeingMoved, TArray< FMassArchetypeEntityCollection::FArchetypeEntityRange > *OutNewChunks=nullptr, const FMassArchetypeSharedFragmentValues *SharedFragmentValuesToAdd=nullptr, const FMassSharedFragmentBitSet *SharedFragmentToRemoveBitSet=nullptr, const FMassConstSharedFragmentBitSet *ConstSharedFragmentToRemoveBitSet=nullptr) |
| |
| void | BatchSetFragmentValues (TConstArrayView< FMassArchetypeEntityCollection::FArchetypeEntityRange > EntityCollection, const FMassGenericPayloadViewSlice &Payload) |
| |