Click or drag to resize

RoomEvents Class

The RoomEvents class contains a specific subset of the RoomSettings required to create a Room.
Inheritance Hierarchy
SystemObject
  Sfs2X.RequestsRoomEvents

Namespace:  Sfs2X.Requests
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public class RoomEvents

The RoomEvents type exposes the following members.

Constructors
  NameDescription
Public methodRoomEvents
Creates a new RoomEvents instance.
Top
Properties
  NameDescription
Public propertyAllowUserCountChange
Indicates whether or not the USER_COUNT_CHANGE event should be dispatched whenever the users (or players+spectators) count changes in the Room.
Public propertyAllowUserEnter
Indicates whether the USER_ENTER_ROOM event should be dispatched whenever a user joins the Room or not.
Public propertyAllowUserExit
Indicates whether the USER_EXIT_ROOM event should be dispatched whenever a user leaves the Room or not.
Public propertyAllowUserVariablesUpdate
Indicates whether or not the USER_VARIABLES_UPDATE event should be dispatched whenever a user in the Room updates his User Variables.
Top
Remarks
This class defines which events related to the Room will be fired by the SmartFox client.
See Also