|
group2 0.1.0
CSE 125 Group 2
|
Persistent host-screen options used when launching a local server. More...
#include <HostedServer.hpp>
Public Attributes | |
| int | port |
| Requested port when useSpecificPort is true; 0 means auto. | |
| bool | useSpecificPort |
| True when the user explicitly selected a port. | |
| bool | useLegacyTcp |
| True to force the hosted server to legacy TCP transport. | |
| bool | persistAfterClientExit |
| True to detach the hosted server after launch so it survives client exit. | |
| bool | advertiseGlobal |
| Initial global-directory visibility for the hosted server. | |
| bool | advertiseLan |
| Initial LAN-discovery visibility for the hosted server. | |
| std::string | serverName |
| Name advertised in LAN/global server browsers for this hosted session. | |
| int | killsToWin |
| Match config: kill threshold to win, sent to the server on launch and update. | |
| int | maxPlayers |
| Match config: maximum number of connected players accepted by the server. | |
| float | powerupInitialSpawnDelaySeconds |
| Match config: seconds before powerups first appear. | |
| float | powerupRespawnCooldownSeconds |
| Match config: seconds before picked-up powerups reappear. | |
Persistent host-screen options used when launching a local server.
| bool HostConfigState::advertiseGlobal |
Initial global-directory visibility for the hosted server.
| bool HostConfigState::advertiseLan |
Initial LAN-discovery visibility for the hosted server.
| int HostConfigState::killsToWin |
Match config: kill threshold to win, sent to the server on launch and update.
| int HostConfigState::maxPlayers |
Match config: maximum number of connected players accepted by the server.
| bool HostConfigState::persistAfterClientExit |
True to detach the hosted server after launch so it survives client exit.
| int HostConfigState::port |
Requested port when useSpecificPort is true; 0 means auto.
| float HostConfigState::powerupInitialSpawnDelaySeconds |
Match config: seconds before powerups first appear.
| float HostConfigState::powerupRespawnCooldownSeconds |
Match config: seconds before picked-up powerups reappear.
| std::string HostConfigState::serverName |
Name advertised in LAN/global server browsers for this hosted session.
| bool HostConfigState::useLegacyTcp |
True to force the hosted server to legacy TCP transport.
| bool HostConfigState::useSpecificPort |
True when the user explicitly selected a port.