Table of Contents

LobbiesService

class in Coherence.Cloud
Constructors
LobbiesService
Methods
AcceptLobbyInviteAsync

Join a Lobby via invitation.

CreateLobby

Endpoint to create a Lobby directly without doing matchmaking.

CreateLobbyAsync

Endpoint to create a Lobby directly without doing matchmaking.

Dispose
DisposeAsync
FetchLobbyStats

Get stats for the usage of Lobbies for your current coherence Project.

FetchLobbyStatsAsync

Get stats for the usage of Lobbies for your current coherence Project.

FindLobbies

Find current active Lobbies that you will be able to join.

FindLobbiesAsync

Find current active Lobbies that you will be able to join.

FindOrCreateLobby

Endpoint to do matchmaking and find a suitable Lobby. If no suitable Lobby is found, one will be created using the CreateLobbyOptions.

FindOrCreateLobbyAsync

Endpoint to do matchmaking and find a suitable Lobby. If no suitable Lobby is found, one will be created using the CreateLobbyOptions.

GetActiveLobbySessionForLobbyId

Get a LobbySession instance for a Lobby that you have joined and you're a part of.

GetCreateLobbyCooldown
GetFindLobbiesCooldown
GetFindOrCreateLobbyCooldown
GetLobbySessionIds

Retrieves identifiers of all lobby sessions that this player account is currently a part of.

GetLobbySessions

Iterate all active LobbySession instances.

GetLobbySessionsAsync

Retrieves all lobby sessions that this player account is currently part of asynchronously.

JoinLobby

Join the supplied Lobby.

JoinLobbyAsync

Join the supplied Lobby.

JoinLobbyByCodeAsync

Join the Lobby via join code.

JoinLobbyWithTokenAsync

Join the Lobby an invite token was minted for.

RefreshLobbiesAsync

Refresh the current data for the lobbies with the supplied ids.

RefreshLobby

Refresh the current data for the supplied Lobby.

RefreshLobbyAsync

Refresh the current data for the supplied Lobby.

ResolveLobbyFromInviteTokenAsync

Look up a Lobby via invite token.

Events
OnLobbyInviteReceived

Invoked when a player invites you to a Lobby they are in.

OnPlaySessionStarted

Invoked when the owner starts the game.