Table of Contents

JoinLobbyAsync

Methods
public Task<LobbySession> JoinLobbyAsync(LobbyData lobby, List<CloudAttribute> playerAttr = null, string password = null, CancellationToken cancellationToken = default)

Join the supplied Lobby.

Parameters
Type Name Description
LobbyData lobby

The lobby to join.

List<CloudAttribute> playerAttr

Optional parameter to add player attributes to the joined Lobby.

string password

Optional parameter to specify the Password to join a private Lobby.

CancellationToken cancellationToken

Optional parameter to cancel the request.

Returns
Type Description
Task<LobbySession>