Class ServerConfig
The server configuration for the current session.
Inherited Members
Namespace: Unity.Services.Multiplay
Assembly: solution.dll
Syntax
[Preserve]
public class ServerConfig
Constructors
| Name | Description |
|---|---|
| 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. |
Properties
| Name | Description |
|---|---|
| AllocationId | The allocation ID. |
| IpAddress | The connection ip for the session. |
| Port | The connection port for the session. |
| QueryPort | The Server Query Protocol Port. |
| ServerId | The server ID. |
| ServerLogDirectory | The directory logs will be written to. |