R-Type
Networked shoot'em up built on Aegis2D
Loading...
Searching...
No Matches
rtype::ClientSettings Struct Reference

What the client needs to join a server. More...

#include </__w/project-rtype/project-rtype/client/network/include/rtype/client_session.hpp>

Public Attributes

std::string host = "127.0.0.1"
 Numeric IPv4 or IPv6 address of the server, or "localhost".
 
std::uint16_t tcp_port = 4242
 TCP port of the server.
 
std::string name = "player"
 Player name, 1 to 16 bytes of UTF-8 without control characters.
 
bool choose_room = false
 Stays in the lobby after the login, where the rooms are listed, created and joined, and binds once a room is joined; false binds at once, in the room the server gives at login.
 

Detailed Description

What the client needs to join a server.

Member Data Documentation

◆ choose_room

bool rtype::ClientSettings::choose_room = false

Stays in the lobby after the login, where the rooms are listed, created and joined, and binds once a room is joined; false binds at once, in the room the server gives at login.

◆ host

std::string rtype::ClientSettings::host = "127.0.0.1"

Numeric IPv4 or IPv6 address of the server, or "localhost".

◆ name

std::string rtype::ClientSettings::name = "player"

Player name, 1 to 16 bytes of UTF-8 without control characters.

◆ tcp_port

std::uint16_t rtype::ClientSettings::tcp_port = 4242

TCP port of the server.


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