Disconnect the user from the given room.
This method should be used only when users are allowed to be present in more than one room at the same time (multi-room join feature).
This method should be used only when users are allowed to be present in more than one room at the same time (multi-room join feature).


- roomId (Int32)
- the id of the room to leave.

Sends:
SFSEvent..::.OnRoomLeftDelegate
Version:
SmartFoxServer Basic / Pro

The following example shows how to make a user leave a room.
CopyC#

smartFox.LeaveRoom(15);