LeaveRoom(Action<bool, SWLobbyError>) Method

Namespace: SWNetwork.Lobby

Called by players to begin an asynchronous operation to leave their rooms.

Declaration

public void LeaveRoom(Action<bool, SWLobbyError> callback)

Parameters

Type

Description

callback

Action<bool, SWLobbyError>

The method to invoke when the leave room operation is complete.