Constructor ServerConfig
ServerConfig(long, string, ushort, ushort, string, string)
Creates an instance of ServerConfig. Note that you should not manually create one of these except for testing. Instead, use MultiplayService.ServerConfig to access the server configuration.
Declaration
[Preserve]
public ServerConfig(long serverId, string allocationId, ushort queryPort, ushort port, string ip, string serverLogDirectory)
Parameters
| Type | Name | Description |
|---|---|---|
| long | serverId | The Server ID. |
| string | allocationId | The Allocation ID for the server. |
| ushort | queryPort | The Query Port. |
| ushort | port | The Game Session Port. |
| string | ip | The Game Session IP Address. |
| string | serverLogDirectory | The Server Log Directory. |