Navigation
API > API/Plugins > API/Plugins/StateTreeEditorModule
Caches specified classes or structs and reacts to engine events to keep the lists always up to date. All the derived classes or structs are kept in the cache.
| Name | FStateTreeNodeClassCache |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Public/StateTreeNodeClassCache.h |
| Include Path | #include "StateTreeNodeClassCache.h" |
Syntax
struct FStateTreeNodeClassCache
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStateTreeNodeClassCache() |
StateTreeNodeClassCache.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FStateTreeNodeClassCache() |
StateTreeNodeClassCache.h |
Structs
| Name | Remarks |
|---|---|
| FRootClassContainer |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ClassNameToRootIndex | TMap< FString, int32 > | StateTreeNodeClassCache.h | ||
| RootClasses | TArray< FRootClassContainer > | StateTreeNodeClassCache.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddRootClass
(
UClass* RootClass |
Adds a Class to keep track of | StateTreeNodeClassCache.h | |
void AddRootScriptStruct
(
UScriptStruct* RootStruct |
Adds a ScriptStruct to keep track of | StateTreeNodeClassCache.h | |
void AddRootStruct
(
UStruct* RootStruct |
Adds a Struct to keep track of | StateTreeNodeClassCache.h | |
void GetClasses
(
const UStruct* BaseClass, |
Returns know derived Classes based on provided base. | StateTreeNodeClassCache.h | |
void GetScripStructs
(
const UScriptStruct* BaseStruct, |
Returns know derived ScriptStructs based on provided base. | StateTreeNodeClassCache.h | |
void GetStructs
(
const UStruct* BaseStruct, |
Returns know derived Structs based on provided base. | StateTreeNodeClassCache.h | |
void InvalidateCache() |
Invalidates the cache, it will be rebuild on next access. | StateTreeNodeClassCache.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void OnAssetAdded
(
const FAssetData& AssetData |
StateTreeNodeClassCache.h | ||
void OnAssetRemoved
(
const FAssetData& AssetData |
StateTreeNodeClassCache.h | ||
void OnReloadComplete
(
EReloadCompleteReason Reason |
StateTreeNodeClassCache.h |