Skip to main content

types Folder

Files Index

filehelios/engine/mechanics/scoring/types/_module.ixx

Module facade for scoring types. More...

fileKillReward.ixx

Score type awarded for killing an entity. More...

fileScore.ixx

Abstract base class for score types. More...

fileScoreContext.ixx

Data structure for score update information. More...

fileScorePoolId.ixx

Strongly-typed identifier for ScorePools. More...

fileScorePoolRevision.ixx

Type alias for score pool revision tracking. More...

fileScoreTypeId.ixx

Strongly-typed identifier for score types. More...

Description

helios::engine::mechanics::scoring::types

Score data types and value classes.

This namespace contains types for score values, score contexts, and related data structures used throughout the scoring system.

Types

TypeDescription
ScoreAbstract base class for score value types
KillRewardConcrete score type for kill rewards
ScoreContextData structure containing score type, pool ID, and value
ScorePoolRevisionType alias for tracking pool changes

Score Hierarchy

 Score (abstract)
 └── KillReward
 └── (custom score types...)

ScoreContext

Used to transfer score data through the command system:

 ScoreValueContext{
  .scoreTypeId = ScoreTypeId::id<KillReward>(),
  .scorePoolId = ScorePoolId{"player1"},
  .value = 100
 };


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.