Interface IServersApi
Assembly: Unity.Services.Multiplayer.Multiplay.Authoring.Core.dll
Syntax
public interface IServersApi : IInitializable
Methods
GetServerActionLogsAsync(long, CancellationToken)
Lists the Action Logs for a server
Declaration
Task<List<ActionLog>> GetServerActionLogsAsync(long serverId, CancellationToken cancellationToken = default)
Parameters
Returns
GetServerAsync(long, CancellationToken)
Get the details of a single server with the given ID
Declaration
Task<ServerInfo> GetServerAsync(long serverId, CancellationToken cancellationToken = default)
Parameters
Returns
TriggerServerActionAsync(long, ServerAction, CancellationToken)
Trigger an action against the server with the given id
Declaration
Task<bool> TriggerServerActionAsync(long serverId, ServerAction action, CancellationToken cancellationToken = default)
Parameters
Returns