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