Skip to main content

ScoreValueContext Struct

Data structure containing score update information. More...

Declaration

struct helios::engine::mechanics::scoring::types::ScoreValueContext { ... }

Public Member Attributes Index

ScoreTypeIdscoreTypeId

Type identifier for the score (e.g., KillReward). More...

ScorePoolIdscorePoolId

Target score pool to receive this score. More...

doublevalue {}

The score value to add. More...

Description

Data structure containing score update information.

Encapsulates the score type, target pool, and value for a score update. Used by UpdateScoreCommand to transfer scoring data.

Definition at line 22 of file ScoreContext.ixx.

Public Member Attributes

scorePoolId

ScorePoolId helios::engine::mechanics::scoring::types::ScoreValueContext::scorePoolId

Target score pool to receive this score.

Definition at line 32 of file ScoreContext.ixx.

scoreTypeId

ScoreTypeId helios::engine::mechanics::scoring::types::ScoreValueContext::scoreTypeId

Type identifier for the score (e.g., KillReward).

Definition at line 27 of file ScoreContext.ixx.

Referenced by helios::engine::mechanics::scoring::ScorePool::addScore.

value

double helios::engine::mechanics::scoring::types::ScoreValueContext::value {}

The score value to add.

Definition at line 37 of file ScoreContext.ixx.

37 double value{};

Referenced by helios::engine::mechanics::scoring::ScorePool::addScore.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.