RefreshLobby
method in Coherence.Cloud.LobbiesService
Methods
public void RefreshLobby(LobbyData lobby, Action<RequestResponse<LobbyData>> onRequestFinished)
Refresh the current data for the supplied Lobby.
Parameters
Type | Name | Description |
---|---|---|
LobbyData | lobby | Lobby you want to refresh the data of. |
Action<RequestResponse<LobbyData>> | onRequestFinished | Callback that will be invoked when the request finished. |
public void RefreshLobby(string lobbyId, Action<RequestResponse<LobbyData>> onRequestFinished)
Refresh the current data for the Lobby with the supplied id.
Parameters
Type | Name | Description |
---|---|---|
string | lobbyId | Lobby ID you want to refresh the data of. |
Action<RequestResponse<LobbyData>> | onRequestFinished | Callback that will be invoked when the request finished. |