SpawnedByProfileComponent.ixx File
Component that tracks which spawn profile created a GameObject. More...
Included Headers
#include <helios.core.types>
#include <helios.engine.core.data.SpawnProfileId>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | mechanics |
|
High-level gameplay systems and components for game logic. More... | |
| namespace | spawn |
|
Entity spawning and lifecycle management. More... | |
| namespace | components |
|
Components for spawn-related entity tracking. More... | |
Classes Index
| class | SpawnedByProfileComponent |
|
Component that stores the spawn profile ID that created this GameObject. More... | |
Description
Component that tracks which spawn profile created a GameObject.
File Listing
The file content with the documentation metadata removed is:
13export namespace helios::engine::mechanics::spawn::components {
43 class SpawnedByProfileComponent {
50 helios::engine::core::data::SpawnProfileId spawnProfileId_{helios::core::types::no_init};
85 SpawnedByProfileComponent() = default;
92 SpawnedByProfileComponent(const SpawnedByProfileComponent& other)
95 SpawnedByProfileComponent& operator=(const SpawnedByProfileComponent&) = default;
96 SpawnedByProfileComponent(SpawnedByProfileComponent&&) noexcept = default;
97 SpawnedByProfileComponent& operator=(SpawnedByProfileComponent&&) noexcept = default;
104 [[nodiscard]] helios::engine::core::data::SpawnProfileId spawnProfileId() const noexcept {
116 void setSpawnProfileId(const helios::engine::core::data::SpawnProfileId& spawnProfileId) noexcept {
117 spawnProfileId_ = spawnProfileId;
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.