DespawnCommand.ixx File
Command for requesting GameObject despawning and pool return. More...
Included Headers
#include <cassert>
#include <optional>
#include <helios.engine.runtime.spawn.types.SpawnProfileId>
#include <helios.engine.ecs.EntityHandle>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | runtime |
|
Runtime infrastructure for game execution and lifecycle orchestration. More... | |
| namespace | spawn |
|
Entity spawning infrastructure for the helios engine. More... | |
| namespace | commands |
|
Commands for spawn and despawn operations. More... | |
Classes Index
| class | DespawnCommand |
|
Command to request despawning of a GameObject. More... | |
Description
Command for requesting GameObject despawning and pool return.
File Listing
The file content with the documentation metadata removed is:
19export namespace helios::engine::runtime::spawn::commands {
35 class DespawnCommand {
40 helios::engine::ecs::EntityHandle entityHandle_;
45 helios::engine::runtime::spawn::types::SpawnProfileId spawnProfileId_;
55 explicit DespawnCommand(
58 entityHandle_(entityHandle), spawnProfileId_(spawnProfileId) {}
66 [[nodiscard]] helios::engine::ecs::EntityHandle entityHandle() const noexcept {
75 [[nodiscard]] helios::engine::runtime::spawn::types::SpawnProfileId spawnProfileId() const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.