|
R-Type
Networked shoot'em up built on Aegis2D
|
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. | |
What the client needs to join a server.
| 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.
| std::string rtype::ClientSettings::host = "127.0.0.1" |
Numeric IPv4 or IPv6 address of the server, or "localhost".
| std::string rtype::ClientSettings::name = "player" |
Player name, 1 to 16 bytes of UTF-8 without control characters.
| std::uint16_t rtype::ClientSettings::tcp_port = 4242 |
TCP port of the server.