Navigation
API > API/Plugins > API/Plugins/MassSpawner
| Name | FMassEntityTemplateBuildContext |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassSpawner/Public/MassEntityTemplateRegistry.h |
| Include Path | #include "MassEntityTemplateRegistry.h" |
Syntax
struct FMassEntityTemplateBuildContext
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMassEntityTemplateBuildContext
(
FMassEntityTemplateData& InTemplate, |
MassEntityTemplateRegistry.h |
Structs
| Name | Remarks |
|---|---|
| FRemovedType | |
| FTraitData |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsInspectingData | bool | This being set to `true_ indicates that the context is being used to gather information, not to create actual entity templates. | MassEntityTemplateRegistry.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddChunkFragment() |
MassEntityTemplateRegistry.h | ||
void AddConstSharedFragment
(
const FConstSharedStruct& InSharedFragment |
MassEntityTemplateRegistry.h | ||
void AddDependency
(
const UStruct* Dependency |
MassEntityTemplateRegistry.h | ||
void AddFragment () |
MassEntityTemplateRegistry.h | ||
void AddFragment
(
FConstStructView InFragment |
MassEntityTemplateRegistry.h | ||
T & AddFragment_GetRef() |
Fragments. | MassEntityTemplateRegistry.h | |
void AddSharedFragment
(
const FSharedStruct& InSharedFragment |
MassEntityTemplateRegistry.h | ||
void AddTag
(
const UScriptStruct& TagType |
MassEntityTemplateRegistry.h | ||
void AddTag () |
MassEntityTemplateRegistry.h | ||
void AddTranslator() |
Translators. | MassEntityTemplateRegistry.h | |
bool BuildFromTraits
(
TConstArrayView< UMassEntityTraitBase* > Traits, |
Build methods. | MassEntityTemplateRegistry.h | |
void EnableDataInvestigationMode() |
MassEntityTemplateRegistry.h | ||
T * GetFragment() |
MassEntityTemplateRegistry.h | ||
TArray< FMassEntityTemplateData::FObjectFragmentInitializerFunction > & GetMutableObjectFragmentInitializers() |
MassEntityTemplateRegistry.h | ||
FMassEntityTemplateID GetTemplateID() |
Template access. | MassEntityTemplateRegistry.h | |
bool HasChunkFragment() |
MassEntityTemplateRegistry.h | ||
bool HasConstSharedFragment
(
const UScriptStruct& ScriptStruct |
MassEntityTemplateRegistry.h | ||
bool HasConstSharedFragment () |
MassEntityTemplateRegistry.h | ||
bool HasFragment
(
const UScriptStruct& ScriptStruct |
MassEntityTemplateRegistry.h | ||
bool HasFragment () |
MassEntityTemplateRegistry.h | ||
bool HasSharedFragment
(
const UScriptStruct& ScriptStruct |
MassEntityTemplateRegistry.h | ||
bool HasSharedFragment () |
MassEntityTemplateRegistry.h | ||
bool HasTag() |
MassEntityTemplateRegistry.h | ||
bool IsInspectingData () |
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). | MassEntityTemplateRegistry.h | |
void RemoveTag
(
const UScriptStruct& TagType |
Removes given tag from collected data. | MassEntityTemplateRegistry.h | |
void RemoveTag () |
MassEntityTemplateRegistry.h | ||
void RequireFragment() |
Dependencies. | MassEntityTemplateRegistry.h | |
void RequireTag() |
MassEntityTemplateRegistry.h | ||
void SetTemplateName
(
const FString& Name |
MassEntityTemplateRegistry.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ResetBuildTimeData() |
MassEntityTemplateRegistry.h | ||
bool SetTraitBeingProcessed
(
const UMassEntityTraitBase* Trait |
Return true if the given trait can be used. | MassEntityTemplateRegistry.h | |
void TypeAdded
(
const UStruct& Type |
MassEntityTemplateRegistry.h | ||
bool ValidateBuildContext
(
const UWorld& World |
Validate the build context for fragment trait ownership and trait fragment missing dependency | MassEntityTemplateRegistry.h |