SpawnPlanCommandExecutedEvent Struct
Event indicating a spawn plan command has been executed. More...
Declaration
Public Member Attributes Index
| const helios::engine::core::data::SpawnRuleId | spawnRuleId |
|
The rule that triggered the spawn. More... | |
| const size_t | spawnCount |
|
Number of entities actually spawned. More... | |
Description
Event indicating a spawn plan command has been executed.
SpawnPlanCommandExecutedEvent is pushed to the frame event bus after a spawn command completes. The GameObjectSpawnSystem reads these events in the next frame to commit spawn counts to the SpawnScheduler.
- See Also
SpawnScheduler::commit
- See Also
GameObjectSpawnSystem
Definition at line 23 of file SpawnPlanCommandExecutedEvent.ixx.
Public Member Attributes
spawnCount
|
Number of entities actually spawned.
Definition at line 33 of file SpawnPlanCommandExecutedEvent.ixx.
spawnRuleId
|
The rule that triggered the spawn.
Definition at line 28 of file SpawnPlanCommandExecutedEvent.ixx.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.