Skip to main content

PrefabIdComponent.ixx File

Component that stores the prefab identity of a pooled Entity. More...

Included Headers

Namespaces Index

namespacehelios
namespaceengine
namespaceruntime
namespacepooling
namespacecomponents

Classes Index

classPrefabIdComponent<THandle>

Component that stores the PrefabId identifying a Entity's prefab origin. More...

Description

Component that stores the prefab identity of a pooled Entity.

File Listing

The file content with the documentation metadata removed is:

1
5module;
6
7export module helios.engine.runtime.pooling.components.PrefabIdComponent;
8
9
10import helios.engine.runtime.pooling.types.PrefabId;
11import helios.engine.core.types;
12
14
16
33 template<typename THandle>
35
39 PrefabId prefabId_;
40
41 public:
42
46 ~PrefabIdComponent() = default;
47
50
53
56
59
65 explicit PrefabIdComponent(const PrefabId prefabId) : prefabId_(prefabId) {}
66
73 return prefabId_;
74 }
75
76
77 };
78
79}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.