|
group2 0.1.0
CSE 125 Group 2
|
Functions | |
| JoinMenuResult | buildJoinMenu (JoinMenuState &state, std::string_view errorMessage, const std::vector< DiscoveryClient::DiscoveredServer > &localServers, const std::vector< net::discovery::ServerInfo > &globalServers, std::string_view browserError, bool browserRefreshing, bool directConnectDisabled, const HostConfigUIInputs &hostInputs) |
| Render the join game window and return any user action this frame. | |
| JoinMenuResult main_menu_ui::buildJoinMenu | ( | JoinMenuState & | state, |
| std::string_view | errorMessage, | ||
| const std::vector< DiscoveryClient::DiscoveredServer > & | localServers, | ||
| const std::vector< net::discovery::ServerInfo > & | globalServers, | ||
| std::string_view | browserError, | ||
| bool | browserRefreshing, | ||
| bool | directConnectDisabled, | ||
| const HostConfigUIInputs & | hostInputs ) |
Render the join game window and return any user action this frame.
| state | Persistent widget state (IP/port fields). |
| errorMessage | Optional error string displayed in red below the form. |
| localServers | LAN-discovered servers shown in the local browser table. |
| globalServers | Directory-discovered servers shown in the global browser table. |
| browserError | Optional global-browser error displayed beside the refresh button. |
| browserRefreshing | True while a global-browser refresh is in flight. |