Dispatched when another user joins the current room.


Version:
SmartFoxServer Basic / Pro

The following example shows how to check the handle the user entering room notification.
CopyC#

SFSEvent.onUserEnterRoom += OnUserEnterRoom; public void OnUserEnterRoom(int roomId, User user) { Debug.WriteLine("User " + user.GetName() + " entered the room"); }