Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/FStateTreeEventQueue
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeEvents.h |
| Include | #include "StateTreeEvents.h" |
| Source | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Private/StateTreeEvents.cpp |
void SendEvent
(
const UObject * Owner,
const FGameplayTag & Tag,
const FConstStructView Payload,
const FName Origin
)
Remarks
Buffers and event to be sent to the State Tree.
Parameters
| Name | Description |
|---|---|
| Owner | Optional pointer to an owner UObject that is used for logging errors. |
| Tag | tag identifying the event. |
| Payload | Optional reference to the payload struct. |
| Origin | Optional name identifying the origin of the event. |