types Folder
Files Index
| file | helios/engine/mechanics/scoring/types/_module.ixx |
|
Module facade for scoring types. More... | |
| file | KillReward.ixx |
|
Score type awarded for killing an entity. More... | |
| file | Score.ixx |
|
Abstract base class for score types. More... | |
| file | ScoreContext.ixx |
|
Data structure for score update information. More... | |
| file | ScorePoolId.ixx |
|
Strongly-typed identifier for ScorePools. More... | |
| file | ScorePoolRevision.ixx |
|
Type alias for score pool revision tracking. More... | |
| file | ScoreTypeId.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
| Type | Description |
|---|---|
| Score | Abstract base class for score value types |
| KillReward | Concrete score type for kill rewards |
| ScoreContext | Data structure containing score type, pool ID, and value |
| ScorePoolRevision | Type 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.