Table of Contents

CloudService

class in Coherence.Cloud

Runtime API to be able to interface with an Organization and Project from the coherence Cloud. Check the coherence Cloud tab in the coherence Hub window for more details.

Properties
CloudStorage

Store and load game data.

Friends

Syncs the friend lists from other platforms into coherence Cloud.

GameServers

Controls game servers.

IsConnectedToCloud

Returns true when the Web Socket is connected.

IsLoggedIn

Returns true when the Web Socket is connected and when we are logged in to coherence Cloud.

Lobbies

Create, find, join and manage lobbies.

Regions

Fetch information about available regions.

Reports

Report players for policy violations.

Rooms

Fetch, create and delete rooms.

RuntimeSettings

RuntimeSettings that you pass through the constructor, if none is specified, RuntimeSettings.Instance will be used.

Worlds

Fetch the available active worlds.

Methods
Dispose

Releases all resources owned by this CloudService, including the cloud services it exposes (Worlds, Rooms, Lobbies, GameServers, CloudStorage).

ForClient

Creates a standalone CloudService for a client.

WaitForCloudServiceLoginAsync

Async method you can use to wait for the CloudService to be ready.

WaitForCloudServiceLoginRoutine

Wait for the CloudService to be ready within a Coroutine.

Events
OnConnectionLost

Callback fired when the WebSocket connection is interrupted or lost. The WebSocket will attempt to reconnect automatically.