Class SFS2X.Requests.RoomEvents

A subset of the RoomSettings defining which events related to the Room will be fired by the SmartFox client.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a new RoomEvents instance.

Field Summary

Class Detail

SFS2X.Requests.RoomEvents()
Creates a new RoomEvents instance.

The RoomSettings.events property must be set to this instance during Room creation.

See also:
SFS2X.Requests.RoomSettings#events
SFS2X.Requests.System.CreateRoomRequest

Field Detail

{Boolean} allowUserCountChange
Sets whether or not the userCountChange event should be dispatched whenever the users (or players+spectators) count changes in the Room.
Default Value:
false
See also:
SFS2X.SFSEvent.USER_COUNT_CHANGE
{Boolean} allowUserEnter
Sets whether the userEnterRoom event should be dispatched whenever a user joins the Room or not.
Default Value:
false
See also:
SFS2X.SFSEvent.USER_ENTER_ROOM
{Boolean} allowUserExit
Sets whether the userExitRoom event should be dispatched whenever a user leaves the Room or not.
Default Value:
false
See also:
SFS2X.SFSEvent.USER_EXIT_ROOM
{Boolean} allowUserVariablesUpdate
Sets whether or not the userVariablesUpdate event should be dispatched whenever a user in the Room updates his User Variables.
Default Value:
false
See also:
SFS2X.SFSEvent.USER_VARIABLES_UPDATE