TavernServer
A class in TavernLib, TavernLib.Backend.Server.Configs.
The contents of tavern_server.json: the game, auth, web and console ports. Use the checked properties (Game, Auth, Web, Console), which fall back to the defaults.
- Listed in TavernLib.Backend.Server.Configs
- Derived types
TavernServerConfig - Documented in Ports, Folders
Constructors
| Member | What it is |
|---|---|
TavernServer() | Created by TavernLib; mods don't make one. |
Fields
| Member | What it is |
|---|---|
const int DefaultAuthPort | 1762. |
const int DefaultConsolePort | 1760. |
const int DefaultGamePort | 1757. |
const int DefaultWebPort | 1761. |
Properties
1 private and internal property
Methods
| Member | What it is |
|---|---|
static int Valid(int port, int fallback) | The port when it's 1 to 65535, otherwise the fallback. |
Used in
Members of other types that take, return or hold a TavernServer: