|
group2 0.1.0
CSE 125 Group 2
|
Input data consumed by lobby_ui::buildPlayerList each frame. More...
#include <LobbyUI.hpp>
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 the host is allowed to start the match. | |
| bool | startCountdownActive |
| True while the pre-match countdown is running. | |
| float | startCountdownRemaining |
| Seconds remaining in the countdown. | |
| std::optional< MatchConfig > | matchConfig |
| Current match settings, if received from the server. | |
| std::string_view | serverName |
| Display name for the connected server. | |
| bool | isHosting |
| True if this client owns a local hosted server process. | |
| std::string_view | hostLanIp |
| Address shown to other players while this client is lobby host. | |
| uint16_t | hostPort |
| Port shown to other players while this client is lobby host. | |
| bool | hostAddressesVisible |
| True if the host address strip is currently visible. | |
Input data consumed by lobby_ui::buildPlayerList each frame.
| bool LobbyUIConfig::canStartMatch |
True when the host is allowed to start the match.
| bool LobbyUIConfig::hostAddressesVisible |
True if the host address strip is currently visible.
| std::string_view LobbyUIConfig::hostLanIp |
Address shown to other players while this client is lobby host.
| uint16_t LobbyUIConfig::hostPort |
Port shown to other players while this client is lobby host.
| bool LobbyUIConfig::isHost |
True if the local client is the lobby host.
| bool LobbyUIConfig::isHosting |
True if this client owns a local hosted server process.
| ClientId LobbyUIConfig::localId |
This client's own ID, used to label the local player.
| std::optional<MatchConfig> LobbyUIConfig::matchConfig |
Current match settings, if received from the server.
| const std::vector<LobbyPlayer>& LobbyUIConfig::players |
Current snapshot of all connected players.
| std::string_view LobbyUIConfig::serverName |
Display name for the connected server.
| bool LobbyUIConfig::startCountdownActive |
True while the pre-match countdown is running.
| float LobbyUIConfig::startCountdownRemaining |
Seconds remaining in the countdown.