Navigation
API > API/Plugins > API/Plugins/StateTreeModule
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeEvents.h |
| Include | #include "StateTreeEvents.h" |
Syntax
USTRUCT ()
struct FStateTreeEventQueue
Remarks
Event queue buffering all the events to be processed by a State Tree.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FStateTreeSharedEvent > | SharedEvents |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ConsumeEvent
(
const FStateTreeSharedEvent& Event |
Consumes and removes the specified event from the event queue. | |
| void | ForEachEvent
(
TFunc&& Function |
Iterates over all events. | |
| TConstArrayView< FStateTreeEvent > | GetEvents () |
||
| TArray< FStateTreeSharedEvent > & | Used by FStateTreeExecutionState to implement deprecated functionality. | ||
| TConstArrayView< FStateTreeSharedEvent > | |||
| TArrayView< FStateTreeSharedEvent > | |||
| bool | HasEvents () |
||
| void | Reset () |
Resets the events in the event queue | |
| void | SendEvent
(
const UObject* Owner, |
Buffers and event to be sent to the State Tree. |
Constants
| Name | Description |
|---|---|
| MaxActiveEvents | Maximum number of events that can be buffered. |