Interface IServerQueryHandler
The interface for setting the current data supplied to the Multiplay Service via the Server Query Handler.
Inherited Members
Namespace: Unity.Services.Multiplay
Assembly: solution.dll
Syntax
public interface IServerQueryHandler : IDisposable
Properties
| Name | Description |
|---|---|
| BuildId | The version of the game. |
| CurrentPlayers | The number of players currently on the server. |
| GameType | The name or identifier of the game type the server is running. |
| Map | The map or world the server is running for the game. |
| MaxPlayers | The maximum number of players on the server. |
| Port | The game port that game clients connect to. |
| ServerName | The name for the server. |
Methods
| Name | Description |
|---|---|
| UpdateServerCheck() | Updates the servercheck values for the server. This is expected to be called in an update loop. |