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

The permissions a Room grants to the users inside it, passed to CreateRoomRequest. More...

#include <RoomSettings.h>

Public Attributes

bool allowNameChange = false
 The Room's name can be changed after creation.
bool allowPasswordStateChange = false
 The Room's password can be set, changed or removed after creation.
bool allowPublicMessages = false
 Users inside the Room can exchange public messages.
bool allowResizing = false
 The Room's capacity (max users / max spectators) can be changed after creation.

Detailed Description

The permissions a Room grants to the users inside it, passed to CreateRoomRequest.

Leaving RoomSettings::permissions unset is NOT the same as setting all four flags to false: an absent permission list makes the server apply its own default, which allows public messages only.


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