Navigation
API > API/Runtime > API/Runtime/MassEntity
| Name | FTypeManager |
| Type | struct |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassTypeManager.h |
| Include Path | #include "MassTypeManager.h" |
Syntax
struct FTypeManager : public TSharedFromThis< FTypeManager >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FTypeManager
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTypeManager
(
FMassEntityManager& InEntityManager |
MassTypeManager.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnRegisterBuiltInTypes | TMulticastDelegate_OneParam< void, FTypeManager & > | MassTypeManager.h | |
| FSubsystemTypeConstIterator | TSet< FTypeHandle >::TConstIterator | Alias for the iterator type that can be used to iterate over stored subsystem types. | MassTypeManager.h |
| FTypeInfoConstIterator | TMap< FTypeHandle, FTypeInfo >::TConstIterator | Alias for the iterator type that can be used to iterate all of stored type traits information | MassTypeManager.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| OnRegisterBuiltInTypes | FOnRegisterBuiltInTypes | Broadcasts as part of FTypeManager::RegisterBuiltInTypes call, giving a chance to the external code to register additional types that are supposed to be available from the very start. | MassTypeManager.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bBuiltInTypesRegistered | bool | MassTypeManager.h | ||
| OuterEntityManager | FMassEntityManager & | MassTypeManager.h | ||
| SubsystemTypes | TSet< FTypeHandle > | Contains all registered subsystem types. Can be used to filter access to TypeDataMap | MassTypeManager.h | |
| TypeDataMap | TMap< FTypeHandle, FTypeInfo > | Mapping of types to their info | MassTypeManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMassEntityManager & GetEntityManager() |
MassTypeManager.h | ||
const FRelationTypeTraits & GetRelationTypeChecked
(
const FTypeHandle TypeHandle |
MassTypeManager.h | ||
const FRelationTypeTraits & GetRelationTypeChecked
(
const TNotNull< const UScriptStruct* > RelationOrElementType |
MassTypeManager.h | ||
FTypeHandle GetRelationTypeHandle
(
const TNotNull< const UScriptStruct* > RelationOrElementType |
MassTypeManager.h | ||
const FTypeInfo * GetTypeInfo
(
FTypeHandle TypeHandle |
MassTypeManager.h | ||
const FTypeInfo * GetTypeInfo
(
TObjectKey< const UStruct > TypeKey |
MassTypeManager.h | ||
bool IsEmpty() |
MassTypeManager.h | ||
bool IsValidRelationType
(
const TNotNull< const UScriptStruct* > RelationOrElementType |
MassTypeManager.h | ||
FTypeInfoConstIterator MakeIterator() |
MassTypeManager.h | ||
FSubsystemTypeConstIterator MakeSubsystemIterator() |
MassTypeManager.h | ||
void RegisterBuiltInTypes() |
MassTypeManager.h | ||
| Register traits for given relation type | MassTypeManager.h | ||
| Registration helper for subsystems | MassTypeManager.h | ||
FTypeHandle RegisterType
(
TNotNull< const UStruct* > InType, |
Register traits for given shared fragments type | MassTypeManager.h | |
FTypeHandle RegisterType
(
TNotNull< const UStruct* > InType, |
Register traits for given subsystem type | MassTypeManager.h | |
| Registration helper for shared fragments | MassTypeManager.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FTypeHandle MakeTypeHandle
(
TNotNull< const UStruct* > InTypeKey |
MassTypeManager.h |