types Folder
Files Index
| file | helios/engine/common/types/_module.ixx |
|
Aggregate module for shared engine type definitions. More... | |
| file | DamageContext.ixx |
|
Context struct describing a damage interaction between entities. More... | |
| file | InteractionContext.ixx |
|
Context struct describing a generic entity-to-entity interaction. More... | |
| file | PrefabId.ixx |
|
Strongly-typed identifier for prefab templates. More... | |
| file | VersionId.ixx |
|
Type alias for entity version numbers used in handle validation. More... | |
| file | ViewportId.ixx |
|
Strongly-typed identifier for viewports. More... | |
Description
helios::engine::common::types
Shared context structs for entity-to-entity interactions.
Types
| Type | Description |
|---|---|
| InteractionContext | Base context carrying target, instigator, causer, and contact point |
| DamageContext | Extends 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.