Class GameServersService
public class GameServersService : IGameServersService
- Inheritance
-
GameServersService
- Implements
Constructors
GameServersService(CloudCredentialsPair, IRuntimeSettings)
public GameServersService(CloudCredentialsPair credentialsPair = null, IRuntimeSettings runtimeSettings = null)
Parameters
credentialsPairCloudCredentialsPairruntimeSettingsIRuntimeSettings
Methods
DeleteAsync(ulong)
public Task DeleteAsync(ulong serverId)
Parameters
serverIdulong
Returns
DeployAsync(GameServerDeployOptions)
public Task<GameServerDeployResult> DeployAsync(GameServerDeployOptions deployOptions)
Parameters
deployOptionsGameServerDeployOptions
Returns
GetAsync(ulong)
public Task<GameServerData> GetAsync(ulong serverId)
Parameters
serverIdulong
Returns
ListAsync(GameServerListOptions)
public Task<List<GameServerData>> ListAsync(GameServerListOptions listOptions)
Parameters
listOptionsGameServerListOptions
Returns
MatchAsync(GameServerMatchOptions)
public Task<OptionalGameServerData> MatchAsync(GameServerMatchOptions matchOptions)
Parameters
matchOptionsGameServerMatchOptions
Returns
ResumeAsync(ulong)
public Task ResumeAsync(ulong serverId)
Parameters
serverIdulong
Returns
SuspendAsync(ulong)
public Task SuspendAsync(ulong serverId)
Parameters
serverIdulong