class
AGameState
- Module
- Game
- Header
#include "Game/AGameState.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Constructors
| Signature | Name | Description |
|---|---|---|
AGameState() = default | AGameState |
Public functions
| Returns | Name | Description |
|---|---|---|
EMatchState | GetMatchState | |
void | SetMatchState | |
std::string | GetMatchStateName | The reflected face of the enum: a graph reads the phase by name and the two booleans it actually branches on. |
bool | IsMatchInProgress | |
bool | HasMatchEnded | |
void | EndMatch | |
float | GetElapsedTime | Seconds since StartMatch. |
void | AddElapsedTime |
Function details
AGameState
C++
AGameState() = defaultGetMatchState
C++
EMatchState GetMatchState() constSetMatchState
C++
void SetMatchState(EMatchState s)GetMatchStateName
C++
std::string GetMatchStateName() constThe reflected face of the enum: a graph reads the phase by name and the two booleans it actually branches on.
IsMatchInProgress
C++
bool IsMatchInProgress() constHasMatchEnded
C++
bool HasMatchEnded() constEndMatch
C++
void EndMatch()GetElapsedTime
C++
float GetElapsedTime() constSeconds since StartMatch. Advanced by AGameMode::Tick.
AddElapsedTime
C++
void AddElapsedTime(float dt)Generated from Game/AGameState.h via game.json · Nov 5, 2026Version 1.0.0