JoinLobby
method in Coherence.Cloud.LobbiesService
Methods
public void JoinLobby(LobbyData lobby, Action<RequestResponse<LobbySession>> onRequestFinished, List<CloudAttribute> playerAttr = null, string secret = null)
Join the supplied Lobby.
Parameters
| Type | Name | Description |
|---|---|---|
| LobbyData | lobby | |
| Action<RequestResponse<LobbySession>> | onRequestFinished | Callback that will be invoked when the request finished. |
| 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. |