Interface IMultiplayService
Interface of the Multiplay SDK for using the Multiplay Service.
Namespace: Unity.Services.Multiplay
Assembly: solution.dll
Syntax
public interface IMultiplayService
Properties
Name | Description |
---|---|
Server |
Gets the server config for the current session. |
Methods
Name | Description |
---|---|
Get |
Gets the payload allocation as plain text. |
Get |
Gets the payload allocation, in JSON, and deserializes it as the given object. |
Ready |
Readies this server. To be called after the server has been Allocated to notify that the server is ready to accept players. |
Start |
Starts the server query handler. The handler provides the Multiplay Service with information about this server. |
Subscribe |
Subscribes to the SDK Daemon and provides updates via callbacks. |
Unready |
Unreadies this server. To be called to prevent the server being given new players. |