Table of Contents

Class GameServersService

Namespace
Coherence.Cloud
Assembly
Coherence.Runtime.dll
public class GameServersService : IGameServersService
Inheritance
GameServersService
Implements

Constructors

GameServersService(CloudCredentialsPair, IRuntimeSettings)

public GameServersService(CloudCredentialsPair credentialsPair = null, IRuntimeSettings runtimeSettings = null)

Parameters

credentialsPair CloudCredentialsPair
runtimeSettings IRuntimeSettings

Methods

DeleteAsync(ulong)

public Task DeleteAsync(ulong serverId)

Parameters

serverId ulong

Returns

Task

DeployAsync(GameServerDeployOptions)

public Task<GameServerDeployResult> DeployAsync(GameServerDeployOptions deployOptions)

Parameters

deployOptions GameServerDeployOptions

Returns

Task<GameServerDeployResult>

GetAsync(ulong)

public Task<GameServerData> GetAsync(ulong serverId)

Parameters

serverId ulong

Returns

Task<GameServerData>

ListAsync(GameServerListOptions)

public Task<List<GameServerData>> ListAsync(GameServerListOptions listOptions)

Parameters

listOptions GameServerListOptions

Returns

Task<List<GameServerData>>

MatchAsync(GameServerMatchOptions)

public Task<OptionalGameServerData> MatchAsync(GameServerMatchOptions matchOptions)

Parameters

matchOptions GameServerMatchOptions

Returns

Task<OptionalGameServerData>

ResumeAsync(ulong)

public Task ResumeAsync(ulong serverId)

Parameters

serverId ulong

Returns

Task

SuspendAsync(ulong)

public Task SuspendAsync(ulong serverId)

Parameters

serverId ulong

Returns

Task