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

Server address and port entered by the user on the main menu screen. More...

#include <MainMenu.hpp>

Public Attributes

std::string serverIp
 Hostname or IP address of the target server.
uint16_t serverPort
 TCP port of the target server.
uint32_t globalServerId = 0
 Directory server id, or 0 for manual join.
std::string serverName
 Display name shown in the lobby after joining.

Detailed Description

Server address and port entered by the user on the main menu screen.

Member Data Documentation

◆ globalServerId

uint32_t JoinRequest::globalServerId = 0

Directory server id, or 0 for manual join.

◆ serverIp

std::string JoinRequest::serverIp

Hostname or IP address of the target server.

◆ serverName

std::string JoinRequest::serverName

Display name shown in the lobby after joining.

◆ serverPort

uint16_t JoinRequest::serverPort

TCP port of the target server.


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