class

AGameState

Module
Game
Header
#include "Game/AGameState.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Constructors

SignatureNameDescription
AGameState() = defaultAGameState

Public functions

ReturnsNameDescription
EMatchStateGetMatchState
voidSetMatchState
std::stringGetMatchStateNameThe reflected face of the enum: a graph reads the phase by name and the two booleans it actually branches on.
boolIsMatchInProgress
boolHasMatchEnded
voidEndMatch
floatGetElapsedTimeSeconds since StartMatch.
voidAddElapsedTime

Function details

AGameState

C++
AGameState() = default

GetMatchState

C++
EMatchState GetMatchState() const

SetMatchState

C++
void SetMatchState(EMatchState s)

GetMatchStateName

C++
std::string GetMatchStateName() const

The reflected face of the enum: a graph reads the phase by name and the two booleans it actually branches on.

IsMatchInProgress

C++
bool IsMatchInProgress() const

HasMatchEnded

C++
bool HasMatchEnded() const

EndMatch

C++
void EndMatch()

GetElapsedTime

C++
float GetElapsedTime() const

Seconds 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