Navigation
API > API/Plugins > API/Plugins/MassSpawner
Inheritance Hierarchy
- FMassEntityTemplateBuildContext
- FMassTraitInspectionContext::FInvestigationContext
References
| Module | MassSpawner |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassSpawner/Public/MassEntityTemplateRegistry.h |
| Include | #include "MassEntityTemplateRegistry.h" |
Syntax
struct FMassEntityTemplateBuildContext
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bBuildInProgress | ||
| TSet< const UMassEntityTraitBase * > | IgnoredTraits | ||
| TArray< FRemovedType > | RemovedTypes | These tags will be removed from the resulting entity template | |
| FMassEntityTemplateData & | TemplateData | ||
| FMassEntityTemplateID | TemplateID | ||
| TArray< FTraitData > | TraitsData | ||
| TSet< const UMassEntityTraitBase * > | TraitsProcessed |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMassEntityTemplateBuildContext
(
FMassEntityTemplateData& InTemplate, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | AddConstSharedFragment
(
const FConstSharedStruct& InSharedFragment |
||
| void | AddDependency
(
const UStruct* Dependency |
||
| void | AddFragment () |
||
| void | AddFragment
(
FConstStructView InFragment |
||
| T & | Fragments. | ||
| void | AddSharedFragment
(
const FSharedStruct& InSharedFragment |
||
| void | AddTag
(
const UScriptStruct& TagType |
||
| void | AddTag () |
||
| void | Translators. | ||
| bool | BuildFromTraits
(
TConstArrayView< UMassEntityTraitBase* > Traits, |
Build methods. | |
| void | |||
| T * | GetFragment () |
||
| TArray< FMassEntityTemplateData::FObjectFragmentInitializerFunction > & | |||
| FMassEntityTemplateID | Template access. | ||
| bool | |||
| bool | HasConstSharedFragment
(
const UScriptStruct& ScriptStruct |
||
| bool | |||
| bool | HasFragment
(
const UScriptStruct& ScriptStruct |
||
| bool | HasFragment () |
||
| bool | HasSharedFragment
(
const UScriptStruct& ScriptStruct |
||
| bool | |||
| bool | HasTag () |
||
| bool | The method that allows to distinguish between regular context use (using traits to build templates) and the "data investigation" mode (used for debugging and authoring purposes). | ||
| void | RemoveTag
(
const UScriptStruct& TagType |
Removes given tag from collected data. | |
| void | RemoveTag () |
||
| void | Dependencies. | ||
| void | RequireTag () |
||
| void | |||
| void | SetTemplateName
(
const FString& Name |
||
| bool | SetTraitBeingProcessed
(
const UMassEntityTraitBase* Trait |
Return true if the given trait can be used. | |
| void | TypeAdded
(
const UStruct& Type |
||
| bool | ValidateBuildContext
(
const UWorld& World |
Validate the build context for fragment trait ownership and trait fragment missing dependency |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FRemovedType | |||
| FTraitData |