JoinLobbyAsync
method in Coherence.Cloud.LobbiesService
Methods
public Task<LobbySession> JoinLobbyAsync(LobbyData lobby, List<CloudAttribute> playerAttr = null, string secret = null)
Join the supplied Lobby.
Parameters
Type | Name | Description |
---|---|---|
LobbyData | lobby | |
List<CloudAttribute> | playerAttr | Optional parameter to add player attributes to the joined Lobby. |
string | secret | Optional parameter to specify the Secret to join a private Lobby. |
Returns
Type | Description |
---|---|
Task<LobbySession> |