Dispatched when a room is removed from the zone where the user is currently logged in.
Version:
SmartFoxServer Basic / Pro
The following example shows how to handle a new room being removed in the zone.
CopyC#
SFSEvent.onRoomDeleted += OnRoomDeleted; public void OnRoomDeleted(Room room) { Trace.WriteLine("Room " + room.GetName() + " was removed"); // TODO: update available rooms list in the application interface }