Dispatched when an error occurs while joining a room.
This error could happen, for example, if the user is trying to join a room which is currently full.
This error could happen, for example, if the user is trying to join a room which is currently full.


- error (String)
- the error message.

Version:
SmartFoxServer Basic / Pro

The following example shows how to handle a potential error in room joining.
CopyC#

SFSEvent.onJoinRoomError += OnJoinRoomError; smartFox.JoinRoom("The Entrance"); public void OnJoinRoomError(string error) { Debug.WriteLine("Room join error; the following error occurred: " + error); }