SmartFoxServer 2X C++ API
Sfs2X::Requests::RoomEvents Class Reference

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

#include <RoomEvents.h>

Detailed Description

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

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)

See also
RoomSettings, CreateRoomRequest