Dispatched when a room is joined successfully.
Version:
SmartFoxServer Basic / Pro
The following example shows how to handle an successful room joining.
CopyC#
SFSEvent.onJoinRoom += OnJoinRoom; smartFox.JoinRoom("The Entrance"); public void OnJoinRoom(Room room) { Trace.WriteLine("Room " + room.GetName() + " joined successfully"); }