Skip to main content

types Namespace

Shared context structs for entity-to-entity interactions. More...

Definition

namespace helios::engine::common::types { ... }

Classes Index

structDamageContext

Extends InteractionContext with a damage amount. More...

structInteractionContext

Describes a generic interaction between entities. More...

structPrefabIdTag

Tag type for PrefabId. More...

structViewportIdTag

Tag type for ViewportId. More...

Typedefs Index

usingPrefabId = helios::core::data::StrongId< PrefabIdTag, uint32_t >

Strongly-typed identifier for prefabs. More...

usingVersionId = uint32_t

Version number for detecting stale entity references. More...

usingViewportId = helios::core::data::StrongId< ViewportIdTag, uint32_t >

Strongly-typed identifier for viewports. More...

Description

Shared context structs for entity-to-entity interactions.

Contains InteractionContext and DamageContext used across combat, health, and scoring subsystems.

Typedefs

PrefabId

using helios::engine::common::types::PrefabId = helios::core::data::StrongId<PrefabIdTag, uint32_t>

Strongly-typed identifier for prefabs.

Used to uniquely identify prefabs.

See Also

helios::core::data::StrongId

Definition at line 30 of file PrefabId.ixx.

VersionId

using helios::engine::common::types::VersionId = uint32_t

Version number for detecting stale entity references.

Each entity slot in an EntityPool has an associated version that is incremented when the entity is removed. EntityHandles store both the EntityId and VersionId, allowing the pool to detect when a handle refers to a recycled slot.

A valid version starts at 1 (uninitialized handles have version 0).

See Also

EntityHandle

See Also

EntityId

See Also

EntityPool

Definition at line 29 of file VersionId.ixx.

29 using VersionId = uint32_t;

ViewportId

using helios::engine::common::types::ViewportId = helios::core::data::StrongId<ViewportIdTag, uint32_t>

Strongly-typed identifier for viewports.

Used to uniquely identify viewports across the rendering system. Supports compile-time string-based construction via FNV-1a hashing.

See Also

helios::core::data::StrongId

Definition at line 32 of file ViewportId.ixx.


The documentation for this namespace was generated from the following files:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.