group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
LobbyUIConfig Struct Reference

Input data consumed by lobby_ui::buildPlayerList each frame. More...

#include <LobbyUI.hpp>

Collaboration diagram for LobbyUIConfig:
[legend]

Public Attributes

const std::vector< LobbyPlayer > & players
 Current snapshot of all connected players.
ClientId localId
 This client's own ID, used to label the local player.
bool isHost
 True if the local client is the lobby host.
bool canStartMatch
 True when all non-host players are ready.
bool startCountdownActive
 True while the pre-match countdown is running.
float startCountdownRemaining
 Seconds remaining in the countdown.

Detailed Description

Input data consumed by lobby_ui::buildPlayerList each frame.

Member Data Documentation

◆ canStartMatch

bool LobbyUIConfig::canStartMatch

True when all non-host players are ready.

◆ isHost

bool LobbyUIConfig::isHost

True if the local client is the lobby host.

◆ localId

ClientId LobbyUIConfig::localId

This client's own ID, used to label the local player.

◆ players

const std::vector<LobbyPlayer>& LobbyUIConfig::players

Current snapshot of all connected players.

◆ startCountdownActive

bool LobbyUIConfig::startCountdownActive

True while the pre-match countdown is running.

◆ startCountdownRemaining

float LobbyUIConfig::startCountdownRemaining

Seconds remaining in the countdown.


The documentation for this struct was generated from the following file: