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

Inputs needed to render the host-configuration UI for one frame. More...

#include <HostConfigUI.hpp>

Collaboration diagram for HostConfigUIInputs:
[legend]

Public Attributes

HostConfigStatedraft
 Mutable draft settings bound to the widgets.
bool serverRunning = false
 True if the client is connected to a server session.
bool canManageServer = false
 True if the local client is authorized to manage server settings.
bool ownsLocalProcess = false
 True if this app still owns the hosted child process.
bool hasUnsavedServerChanges = false
 True if draft settings differ from server state.
uint16_t boundPort = 0
 Actual bound server port when running.
std::string_view errorMessage
 Last launch error, empty when none.

Detailed Description

Inputs needed to render the host-configuration UI for one frame.

Member Data Documentation

◆ boundPort

uint16_t HostConfigUIInputs::boundPort = 0

Actual bound server port when running.

◆ canManageServer

bool HostConfigUIInputs::canManageServer = false

True if the local client is authorized to manage server settings.

◆ draft

HostConfigState& HostConfigUIInputs::draft

Mutable draft settings bound to the widgets.

◆ errorMessage

std::string_view HostConfigUIInputs::errorMessage

Last launch error, empty when none.

◆ hasUnsavedServerChanges

bool HostConfigUIInputs::hasUnsavedServerChanges = false

True if draft settings differ from server state.

◆ ownsLocalProcess

bool HostConfigUIInputs::ownsLocalProcess = false

True if this app still owns the hosted child process.

◆ serverRunning

bool HostConfigUIInputs::serverRunning = false

True if the client is connected to a server session.


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