Skip to main content

MaxScorePoolSnapshot Struct

Immutable snapshot of a ScorePool's high score state. More...

Declaration

struct helios::engine::mechanics::scoring::MaxScorePoolSnapshot { ... }

Public Member Attributes Index

helios::engine::mechanics::scoring::types::ScorePoolIdscorePoolId {helios::core::types::no_init}

ID of the source score pool. More...

doublemaxScore

The maximum score value at snapshot time. More...

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

Revision counter for change detection. More...

Description

Immutable snapshot of a ScorePool's high score state.

Captures the maximum score value and its associated revision at a specific point in time. Used by MaxScoreObserverComponent to detect changes without polling the ScorePool directly.

See Also

ScorePool::maxScoreSnapshot

See Also

MaxScoreObserverComponent

Definition at line 27 of file MaxScorePoolSnapshot.ixx.

Public Member Attributes

maxScore

double helios::engine::mechanics::scoring::MaxScorePoolSnapshot::maxScore

The maximum score value at snapshot time.

Definition at line 37 of file MaxScorePoolSnapshot.ixx.

37 double maxScore;

revision

helios::engine::mechanics::scoring::types::ScorePoolRevision helios::engine::mechanics::scoring::MaxScorePoolSnapshot::revision

Revision counter for change detection.

Definition at line 42 of file MaxScorePoolSnapshot.ixx.

scorePoolId

helios::engine::mechanics::scoring::types::ScorePoolId helios::engine::mechanics::scoring::MaxScorePoolSnapshot::scorePoolId {helios::core::types::no_init}

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.