This class provides Room event settings that can be specified when creating a new Room via the CreateRoomRequest

Namespace: Sfs2X.Requests
Assembly: SmartFox2 (in SmartFox2.dll) Version: 0.9.14.0

Syntax

C#
public class RoomEvents

Remarks

You can configure which events the Room will fire in the Zone:
  • allowUserEnter: fire an event each time a User enters/joins the Room
  • allowUserExit: fire an event each time a User exits/leaves the Room
  • allowUserCountChange: fire an event each time the user count/spectator count changes in the Room
  • allowUserVariablesUpdate: fire an event each time a user in the Room has updated his/her UserVariables
Each of these events can be turned ON (true) or OFF (false)

Inheritance Hierarchy

System..::..Object
  Sfs2X.Requests..::..RoomEvents

See Also