SpawnProfileId.ixx File
Strongly-typed identifier for SpawnProfile instances. More...
Included Headers
#include <cstdint>
#include <string_view>
#include <helios.core.algorithms>
#include <helios.core.types>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | core |
|
Core engine infrastructure providing fundamental building blocks. More... | |
| namespace | data |
|
Data structures for efficient entity management. More... | |
Classes Index
| struct | SpawnProfileId |
|
Strongly-typed identifier for SpawnProfile instances. More... | |
| struct | hash<helios::engine::core::data::SpawnProfileId> |
|
Hash specialization for SpawnProfileId. More... | |
Description
Strongly-typed identifier for SpawnProfile instances.
File Listing
The file content with the documentation metadata removed is:
16export namespace helios::engine::core::data {
54 struct SpawnProfileId {
81 explicit constexpr SpawnProfileId(helios::core::types::no_init_t) {}
95 explicit constexpr SpawnProfileId(const std::string_view str) noexcept
96 : SpawnProfileId(helios::core::algorithms::fnv1a_hash(str)) {}
111 friend constexpr bool operator==(SpawnProfileId, SpawnProfileId) noexcept = default;
154 std::size_t operator()(const helios::engine::core::data::SpawnProfileId& id) const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.