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

Output from a single lobby UI frame. More...

#include <LobbyUI.hpp>

Public Attributes

std::optional< bool > readyChange
 Desired ready state change: true = ready, false = unready, nullopt = unchanged.
bool startMatchClicked = false
 True if the host pressed "Start Match" this frame.
bool cancelStartMatchClicked = false
 True if the host pressed "Cancel" during countdown.
bool returnToMenuClicked = false
 True if the user pressed "Return to Main Menu" this frame.
bool returnToHostConfigClicked = false
 True if the host wants to return to HostConfig without disconnecting.
bool hostAddressesVisibilityToggled = false
 True if the host toggled address visibility this frame.

Detailed Description

Output from a single lobby UI frame.

Member Data Documentation

◆ cancelStartMatchClicked

bool BuildResult::cancelStartMatchClicked = false

True if the host pressed "Cancel" during countdown.

◆ hostAddressesVisibilityToggled

bool BuildResult::hostAddressesVisibilityToggled = false

True if the host toggled address visibility this frame.

◆ readyChange

std::optional<bool> BuildResult::readyChange

Desired ready state change: true = ready, false = unready, nullopt = unchanged.

◆ returnToHostConfigClicked

bool BuildResult::returnToHostConfigClicked = false

True if the host wants to return to HostConfig without disconnecting.

◆ returnToMenuClicked

bool BuildResult::returnToMenuClicked = false

True if the user pressed "Return to Main Menu" this frame.

◆ startMatchClicked

bool BuildResult::startMatchClicked = false

True if the host pressed "Start Match" this frame.


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