Navigation
API > API/Plugins > API/Plugins/MassSpawner
Inheritance Hierarchy
- TSharedFromThis
- FMassEntityTemplate
References
Module | MassSpawner |
Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassSpawner/Public/MassEntityTemplate.h |
Include | #include "MassEntityTemplate.h" |
Syntax
struct FMassEntityTemplate : public TSharedFromThis< FMassEntityTemplate >
Remarks
A finalized and const wrapper for FMassEntityTemplateData, associated with a Mass archetype and template ID. Designed to never be changed. If a change is needed a copy of the hosted FMassEntityTemplateData needs to be made and used to create another finalized FMassEntityTemplate (via FMassEntityTemplateManager).
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
friend | TSharedFromThis< FMassEntityTemplate > |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FMassEntityTemplate
(
const FMassEntityTemplateData& InData, |
||
![]() |
FMassEntityTemplate
(
FMassEntityTemplateData&& InData, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FString | DebugGetArchetypeDescription
(
FMassEntityManager& EntityManager |
|
![]() ![]() |
FString | DebugGetDescription
(
FMassEntityManager* EntityManager |
|
![]() ![]() |
const FMassArchetypeHandle & | GetArchetype () |
|
![]() ![]() |
const FMassArchetypeCompositionDescriptor & | ||
![]() ![]() |
TConstArrayView< FInstancedStruct > | ||
![]() ![]() |
TConstArrayView< FMassEntityTemplateData::FObjectFragmentInitializerFunction > | FMassEntityTemplateData getters. | |
![]() ![]() |
const FMassArchetypeSharedFragmentValues & | ||
![]() ![]() |
const FMassEntityTemplateData & | ||
![]() ![]() |
FMassEntityTemplateID | ||
![]() ![]() |
const FString & | ||
![]() ![]() |
bool | IsValid () |
|
![]() ![]() |
TSharedRef< FMassEntityTemplate > | MakeFinalTemplate
(
FMassEntityManager& EntityManager, |
|
![]() |
void | SetArchetype
(
const FMassArchetypeHandle& InArchetype |
InArchetype is expected to be valid. The function will crash-check it. |
![]() |
void | SetTemplateID
(
FMassEntityTemplateID InTemplateID |