|
group2 0.1.0
CSE 125 Group 2
|
Global server browser / directory-service settings. More...
#include <NetworkConfig.hpp>
Public Attributes | |
| bool | enabled = true |
| Client browser and server publishing toggle. | |
| bool | advertiseServer = true |
| Server auto-publishes itself to the directory. | |
| std::string | directoryHost = "cse125.ucsd.edu" |
| Central directory host. | |
| uint16_t | directoryTcpPort = 10080 |
| Legacy directory TCP API port. | |
| uint16_t | directoryUdpPort = 10081 |
| UDP directory/relay port. | |
| std::string | serverName = "Group 2 Server" |
| Name advertised by local servers. | |
| uint8_t | maxPlayers = 8 |
| Display-only capacity advertised by servers. | |
| int | refreshSeconds = 5 |
| Client browser refresh cadence. | |
| int | connectPunchTimeoutMs = 900 |
| UDP punch-assist window before a direct join attempt. | |
| int | relayFallbackDelayMs = 450 |
| Start relay if direct route has not validated within this window. | |
Global server browser / directory-service settings.
| bool GlobalDiscoveryConfig::advertiseServer = true |
Server auto-publishes itself to the directory.
| int GlobalDiscoveryConfig::connectPunchTimeoutMs = 900 |
UDP punch-assist window before a direct join attempt.
| std::string GlobalDiscoveryConfig::directoryHost = "cse125.ucsd.edu" |
Central directory host.
| uint16_t GlobalDiscoveryConfig::directoryTcpPort = 10080 |
Legacy directory TCP API port.
| uint16_t GlobalDiscoveryConfig::directoryUdpPort = 10081 |
UDP directory/relay port.
| bool GlobalDiscoveryConfig::enabled = true |
Client browser and server publishing toggle.
| uint8_t GlobalDiscoveryConfig::maxPlayers = 8 |
Display-only capacity advertised by servers.
| int GlobalDiscoveryConfig::refreshSeconds = 5 |
Client browser refresh cadence.
| int GlobalDiscoveryConfig::relayFallbackDelayMs = 450 |
Start relay if direct route has not validated within this window.
| std::string GlobalDiscoveryConfig::serverName = "Group 2 Server" |
Name advertised by local servers.