UpdateScoreCommand Class
Command that carries score update information. More...
Declaration
Public Constructors Index
template <typename... Args> | |
| UpdateScoreCommand (helios::engine::mechanics::scoring::types::ScoreValueContext scoreContext) | |
|
Constructs an UpdateScoreCommand with the given score context. More... | |
Public Member Functions Index
| const helios::engine::mechanics::scoring::types::ScoreValueContext & | scoreContext () const &noexcept |
|
Returns the score context (lvalue reference). More... | |
| helios::engine::mechanics::scoring::types::ScoreValueContext | scoreContext () &&noexcept |
|
Returns the score context (rvalue reference). More... | |
Private Member Attributes Index
| helios::engine::mechanics::scoring::types::ScoreValueContext | scoreContext_ |
|
The score context containing type, pool, and value. More... | |
Description
Command that carries score update information.
Contains a ScoreValueContext with the score type, pool ID, and value.
Definition at line 23 of file UpdateScoreCommand.ixx.
Public Constructors
UpdateScoreCommand()
| inline explicit |
Constructs an UpdateScoreCommand with the given score context.
- Parameters
-
scoreContext The context containing score update data.
Definition at line 38 of file UpdateScoreCommand.ixx.
Reference scoreContext.
Public Member Functions
scoreContext()
| inline nodiscard noexcept |
Returns the score context (lvalue reference).
- Returns
Const reference to the score context.
Definition at line 47 of file UpdateScoreCommand.ixx.
Referenced by UpdateScoreCommand.
scoreContext()
| inline nodiscard noexcept |
Returns the score context (rvalue reference).
- Returns
The score context by move.
Definition at line 56 of file UpdateScoreCommand.ixx.
Private Member Attributes
scoreContext_
|
The score context containing type, pool, and value.
Definition at line 28 of file UpdateScoreCommand.ixx.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.