Navigation
API > API/Plugins > API/Plugins/StateTreeModule
Description
A reference to a task that can utilized in a async callback. Use FStateTreeWeakTaskRef to store the reference and Pin it to get the strong version. Similar to StrongPtr and WeakPtr.
| Name | FStateTreeStrongTaskRef |
| Type | function |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeNodeRef.h |
| Include Path | #include "StateTreeNodeRef.h" |
| Source | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Private/StateTreeNodeRef.cpp |
FStateTreeStrongTaskRef
(
TStrongObjectPtr < const UStateTree > StateTree,
const FStateTreeTaskBase * Task,
FStateTreeIndex16 NodeIndex,
FGuid NodeId
)