PrefabIdComponent.ixx File
Component that stores the prefab identity of a pooled GameObject. More...
Included Headers
#include <helios.core.types>
#include <helios.engine.common.types.PrefabId>
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 | pooling |
|
GameObject pooling for efficient object recycling. More... | |
| namespace | components |
Classes Index
| class | PrefabIdComponent |
|
Component that stores the PrefabId identifying a GameObject's prefab origin. More... | |
Description
Component that stores the prefab identity of a pooled GameObject.
File Listing
The file content with the documentation metadata removed is:
13using namespace helios::engine::common::types;
15export namespace helios::engine::runtime::pooling::components {
33 class PrefabIdComponent {
38 PrefabId prefabId_;
45 ~PrefabIdComponent() = default;
48 PrefabIdComponent(const PrefabIdComponent&) = delete;
51 PrefabIdComponent& operator=(const PrefabIdComponent&) = delete;
54 PrefabIdComponent(PrefabIdComponent&&) = default;
57 PrefabIdComponent& operator=(PrefabIdComponent&&) = default;
64 explicit PrefabIdComponent(const PrefabId prefabId) : prefabId_(prefabId) {}
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.