Skip to main content

types Folder

Files Index

filehelios/engine/common/types/_module.ixx

Aggregate module for shared engine type definitions. More...

fileDamageContext.ixx

Context struct describing a damage interaction between entities. More...

fileInteractionContext.ixx

Context struct describing a generic entity-to-entity interaction. More...

filePrefabId.ixx

Strongly-typed identifier for prefab templates. More...

fileVersionId.ixx

Type alias for entity version numbers used in handle validation. More...

fileViewportId.ixx

Strongly-typed identifier for viewports. More...

Description

helios::engine::common::types

Shared context structs for entity-to-entity interactions.

Types

TypeDescription
InteractionContextBase context carrying target, instigator, causer, and contact point
DamageContextExtends InteractionContext with a damage amount

InteractionContext

Generic interaction between two entities:

  • target – Entity affected by the interaction
  • instigator – Entity that initiated the interaction
  • causer – Entity that directly caused the interaction (e.g. projectile)
  • contact – World-space contact point

DamageContext

Builds on InteractionContext by adding:

  • interactionContext – The underlying interaction
  • damage – Amount of damage to apply

Used by HealthManager and ApplyDamageCommand to transport damage information from the collision/combat layer to the health system.



Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.