Table of Contents

FindOrCreateLobbyAsync

Methods
public Task<LobbySession> FindOrCreateLobbyAsync(FindLobbyOptions findOptions, CreateLobbyOptions createOptions)

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

Parameters
Type Name Description
FindLobbyOptions findOptions

Options that will be used to try to find a suitable Lobby.

CreateLobbyOptions createOptions

Options that will be used to create a Lobby if no suitable Lobby is found.

Returns
Type Description
Task<LobbySession>