Jazz2::Multiplayer::GameEndResult struct

Result of IGameMode::CheckGameEnds.

Public static functions

static auto None() -> GameEndResult
Returns a result meaning "the round does not end".

Public variables

bool ShouldEnd
Whether the round should end now.
bool WithTeam
Whether WinnerTeam decides the winner instead of Winner.
Actors::Player* Winner
Winning player (may be nullptr) when WithTeam is false.
std::uint8_t WinnerTeam
Winning team when WithTeam is true.