RoomPermissions
A subset of the RoomSettings defining which operations users will be able to execute on the Room after its creation.
new RoomPermissions()
Creates a new RoomPermissions instance.
The RoomSettings.permissions property must be set to this instance during Room creation.
Properties
allowNameChange boolean
Sets whether changing the Room name after its creation is allowed or not.
The Room name can be changed by means of the ChangeRoomNameRequest request.
- Default value
- false
- See also
- ChangeRoomNameRequest
allowPasswordStateChange boolean
Sets whether changing (or removing) the Room password after its creation is allowed or not.
The Room password can be changed by means of the ChangeRoomPasswordStateRequest request.
- Default value
- false
- See also
- ChangeRoomPasswordStateRequest
allowPublicMessages boolean
Sets whether users inside the Room are allowed to send public messages or not.
Public messages can be sent by means of the PublicMessageRequest request.
- Default value
- true
- See also
- PublicMessageRequest
allowResizing boolean
Sets whether the Room capacity can be changed after its creation or not.
The capacity is the maximum number of users and spectators (in Game Rooms) allowed to enter the Room. It can be changed by means of the ChangeRoomCapacityRequest request.
- Default value
- false
- See also
- ChangeRoomCapacityRequest