CloudService
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 | Allows saving data into coherence Cloud and restoring it later. |
| GameServers | GameServers REST service that controls game servers in the specified coherence Project from the RuntimeSettings. |
| 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 | Service for creating, finding, joining, and managing lobbies in the coherence Cloud. |
| Regions | Service for fetching information about available regions. |
| Rooms | Rooms REST service to fetch, create and delete rooms in the specified coherence Project from the RuntimeSettings. |
| RuntimeSettings | RuntimeSettings that you pass through the constructor, if none is specified, RuntimeSettings.Instance will be used. |
| Worlds | Worlds REST service to fetch the available worlds that are online in the specified coherence Project from the RuntimeSettings. |
Methods
| Dispose | |
| ForClient | |
| WaitForCloudServiceLoginAsync | Async method you can use to wait for the CloudService to be ready. |
| WaitForCloudServiceLoginRoutine | IEnumerator you can use to 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. |