SmartFoxServer 3 C++ Client API 3.1.0-beta
Client API for SmartFoxServer 3
Loading...
Searching...
No Matches
sfs3::requests::RoomEvents Struct Reference

The events a Room fires to the users inside it, passed to CreateRoomRequest. More...

#include <RoomSettings.h>

Public Attributes

bool allowUserEnter = false
 Fire USER_ENTER_ROOM when another user joins the Room.
bool allowUserExit = false
 Fire USER_EXIT_ROOM when another user leaves the Room.
bool allowUserCountChange = false
 Fire USER_COUNT_CHANGE when the Room's user or spectator count changes.
bool allowUserVariablesUpdate = false
 Fire USER_VARIABLES_UPDATE when a user inside the Room updates his User Variables.

Detailed Description

The events a Room fires to the users inside it, passed to CreateRoomRequest.

Leaving RoomSettings::events unset is NOT the same as setting all four flags to false: an absent event list makes the server enable all four events.


The documentation for this struct was generated from the following file:
  • requests/RoomSettings.h