group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
MatchStatus.hpp
Go to the documentation of this file.
1
3#pragma once
4
5#include <cstdint>
6
15
17{
19 float countdownTimer; // Time remaining in current phase, if applicable
20 int winnerId; // Player ID of winner, if in FINISHED phase
21};
MatchPhase
Definition MatchStatus.hpp:8
@ FINISHED
Definition MatchStatus.hpp:13
@ LOBBY
Pre-match lobby phase; players are not yet spawned in-world.
Definition MatchStatus.hpp:9
@ COUNTDOWN
Definition MatchStatus.hpp:11
@ IN_PROGRESS
Definition MatchStatus.hpp:12
@ WARMUP
Definition MatchStatus.hpp:10
Definition MatchStatus.hpp:17
float countdownTimer
Definition MatchStatus.hpp:19
MatchPhase phase
Definition MatchStatus.hpp:18
int winnerId
Definition MatchStatus.hpp:20