Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/FStateTreeExecutionContext
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TEnableIf< TIsInvocable< TFunc, FStateTreeSharedEvent >::Value, void >::Type ForEachEvent
(
TFunc&& Function |
Iterates over all events. | StateTreeExecutionContext.h | |
TEnableIf< TIsInvocable< TFunc, FStateTreeEvent >::Value, void >::Type ForEachEvent
(
TFunc&& Function |
Iterates over all events. | StateTreeExecutionContext.h |
ForEachEvent(TFunc &&)
Description
Iterates over all events.
| Name | ForEachEvent |
| Type | function |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeExecutionContext.h |
| Include Path | #include "StateTreeExecutionContext.h" |
template<typename TFunc>
TEnableIf < TIsInvocable < TFunc, FStateTreeSharedEvent >::Value , void >::Type ForEachEvent
(
TFunc && Function
) const
Parameters
| Name | Remarks |
|---|---|
| Function | a lambda which takes const FStateTreeSharedEvent& Event, and returns EStateTreeLoopEvents. |
ForEachEvent(TFunc &&)
Description
Iterates over all events.
| Name | ForEachEvent |
| Type | function |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeExecutionContext.h |
| Include Path | #include "StateTreeExecutionContext.h" |
template<typename TFunc>
TEnableIf < TIsInvocable < TFunc, FStateTreeEvent >::Value , void >::Type ForEachEvent
(
TFunc && Function
) const
Parameters
| Name | Remarks |
|---|---|
| Function | a lambda which takes const FStateTreeEvent& Event, and returns EStateTreeLoopEvents. Less preferable than FStateTreeSharedEvent version. |