Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/FStateTreeWeakExecutionContext
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool BindDelegate
(
const FStateTreeDelegateListener& Listener, |
Registers the delegate to the listener. | StateTreeAsyncExecutionContext.h | |
PRAGMA_DISABLE_DEPRECATION_WARNINGSbool BindDelegate
(
const FStateTreeWeakTaskRef& Task, |
StateTreeAsyncExecutionContext.h |
BindDelegate(const FStateTreeDelegateListener &, FSimpleDelegate)
Description
Registers the delegate to the listener. If the listener was previously registered, then unregister it first before registering it again with the new delegate callback. The listener is bound to a dispatcher in the editor.
| Name | BindDelegate |
| Type | function |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeAsyncExecutionContext.h |
| Include Path | #include "StateTreeAsyncExecutionContext.h" |
| Source | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Private/StateTreeAsyncExecutionContext.cpp |
bool BindDelegate
(
const FStateTreeDelegateListener & Listener,
FSimpleDelegate Delegate
) const
false if the context is not valid or doesn't have a valid frame anymore or the bind failed.
BindDelegate(const FStateTreeWeakTaskRef &, const FStateTreeDelegateListener &, FSimpleDelegate)
| Name | BindDelegate |
| Type | function |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeAsyncExecutionContext.h |
| Include Path | #include "StateTreeAsyncExecutionContext.h" |
| Source | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Private/StateTreeAsyncExecutionContext.cpp |
PRAGMA_DISABLE_DEPRECATION_WARNINGSbool BindDelegate
(
const FStateTreeWeakTaskRef & Task,
const FStateTreeDelegateListener & Listener,
FSimpleDelegate Delegate
) const