LeaveRoom(Action<bool, SWLobbyError>) Method
Namespace: SWNetwork.Lobby
Called by players to begin an asynchronous operation to leave their rooms.

Declaration

1
public void LeaveRoom(Action<bool, SWLobbyError> callback)
Copied!
Parameters
Type
Description
callback
Action<bool, SWLobbyError>
The method to invoke when the leave room operation is complete.
Copy link
Contents