Dispatched when a room is left in multi-room mode, in response of a LeaveRoom(Int32) request.
- roomId (Int32)
- the id of the room that was left.
Version:
SmartFoxServer Basic / Pro
The following example shows how to handle the "room left" event.
CopyC#
SFSEvent.onRoomLeft += OnRoomLeft; public void OnRoomLeft(int roomId) { Trace.WriteLine("You left room " + roomId); }