#include <MassTypeManager.h>
|
| | DECLARE_MULTICAST_DELEGATE_OneParam (FOnRegisterBuiltInTypes, FTypeManager &) |
| |
| UE_API | FTypeManager (FMassEntityManager &InEntityManager) |
| |
| void | RegisterBuiltInTypes () |
| |
| bool | IsEmpty () const |
| |
| UE_API FTypeHandle | RegisterType (TNotNull< const UStruct * > InType, FSubsystemTypeTraits &&) |
| |
| UE_API FTypeHandle | RegisterType (TNotNull< const UStruct * > InType, FSharedFragmentTypeTraits &&) |
| |
| UE_API FTypeHandle | RegisterType (FRelationTypeTraits &&) |
| |
| template<CSharedFragment T> |
| FTypeHandle | RegisterType () |
| |
template<typename T >
requires TIsDerivedFrom<typename TRemoveReference<T>::Type, USubsystem> |
| ::Value FTypeHandle | RegisterType () |
| |
| const FTypeInfo * | GetTypeInfo (FTypeHandle TypeHandle) const |
| |
| const FTypeInfo * | GetTypeInfo (TObjectKey< const UStruct > TypeKey) const |
| |
| const FRelationTypeTraits & | GetRelationTypeChecked (const FTypeHandle TypeHandle) const |
| |
| const FRelationTypeTraits & | GetRelationTypeChecked (const TNotNull< const UScriptStruct * > RelationOrElementType) const |
| |
| UE_API FTypeHandle | GetRelationTypeHandle (const TNotNull< const UScriptStruct * > RelationOrElementType) const |
| |
| UE_API bool | IsValidRelationType (const TNotNull< const UScriptStruct * > RelationOrElementType) const |
| |
| FTypeInfoConstIterator | MakeIterator () const |
| |
| FSubsystemTypeConstIterator | MakeSubsystemIterator () const |
| |
| FMassEntityManager & | GetEntityManager () |
| |
template<typename T >
requires TIsDerivedFrom<typename TRemoveReference<T>::Type, USubsystem> |
| ::Value FTypeHandle | RegisterType () |
| |
| TSharedRef< FTypeManager, Mode > | AsShared () |
| |
| TSharedRef< FTypeManager const, Mode > | AsShared () const |
| |
| TSharedRef< SubobjectType, Mode > | AsSharedSubobject (SubobjectType *SubobjectPtr) const |
| |
| TWeakPtr< FTypeManager, Mode > | AsWeak () |
| |
| TWeakPtr< FTypeManager const, Mode > | AsWeak () const |
| |
| TWeakPtr< SubobjectType, Mode > | AsWeakSubobject (SubobjectType *SubobjectPtr) const |
| |
| void | UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, SharedPtrMode > const *InSharedPtr, OtherType *InObject) const |
| |
| void | UpdateWeakReferenceInternal (TSharedRef< SharedRefType, SharedPtrMode > const *InSharedRef, OtherType *InObject) const |
| |
| UE_FORCEINLINE_HINT bool | DoesSharedInstanceExist () const |
| |
◆ FSubsystemTypeConstIterator
Alias for the iterator type that can be used to iterate over stored subsystem types. Note that this iterator will only point to types, not type trait data. Contents of this iterator need to be used with GetTypeInfo to get actual traits data.
◆ FTypeInfoConstIterator
Alias for the iterator type that can be used to iterate all of stored type traits information
◆ FTypeManager()
◆ DECLARE_MULTICAST_DELEGATE_OneParam()
◆ GetEntityManager()
◆ GetRelationTypeChecked() [1/2]
◆ GetRelationTypeChecked() [2/2]
◆ GetRelationTypeHandle()
◆ GetTypeInfo() [1/2]
- Returns
- stored traits for the type represented by TypeHandle, or null if the type is unknown
◆ GetTypeInfo() [2/2]
- Returns
- stored traits for the type represented by TypeKey, or null if the type is unknown
◆ IsEmpty()
| bool UE::Mass::FTypeManager::IsEmpty |
( |
| ) |
const |
|
inline |
- Returns
- whether the type manager instance has any types registered at all.
◆ IsValidRelationType()
◆ MakeIterator()
◆ MakeSubsystemIterator()
◆ MakeTypeHandle()
◆ RegisterBuiltInTypes()
| void UE::Mass::FTypeManager::RegisterBuiltInTypes |
( |
| ) |
|
◆ RegisterType() [1/6]
template<CSharedFragment T>
Registration helper for shared fragments
◆ RegisterType() [2/6]
Registration helper for subsystems
◆ RegisterType() [3/6]
◆ RegisterType() [4/6]
Register traits for given relation type
◆ RegisterType() [5/6]
Register traits for given shared fragments type
◆ RegisterType() [6/6]
Register traits for given subsystem type
◆ OnRegisterBuiltInTypes
| FTypeManager::FOnRegisterBuiltInTypes UE::Mass::FTypeManager::OnRegisterBuiltInTypes |
|
static |
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.
The documentation for this struct was generated from the following files: