RoleFlags
RoleFlags ⇐ Bitfield
Section titled “RoleFlags ⇐ Bitfield”Represents the possible flags for a Role
Kind: global class
Extends: Bitfield
- RoleFlags ⇐
Bitfield- new RoleFlags(…bit)
- .Default :
bigint - .All ⇒
- .Flags :
enum
new RoleFlags(…bit)
Section titled “new RoleFlags(…bit)”Constructs a new instance of the class.
| Param | Type | Description |
|---|---|---|
| …bit | bigint | The arguments to pass to the superclass constructor. |
RoleFlags.Default : bigint
Section titled “RoleFlags.Default : bigint”Sets the RoleFlags.Default value to 0n.
Kind: static property of RoleFlags
Read only: true
RoleFlags.All ⇒
Section titled “RoleFlags.All ⇒”Calculates the bitwise OR of all the values in the RoleFlags.Flags object and assigns the result to the RoleFlags.All property.
Kind: static property of RoleFlags
Returns: The calculated value of RoleFlags.All.
| Param | Type | Description |
|---|---|---|
| All | bigint | All bit value. |
RoleFlags.Flags : enum
Section titled “RoleFlags.Flags : enum”Represents the available role flags.
Kind: static enum of RoleFlags
Read only: true
Properties
| Name | Type | Default |
|---|---|---|
| In_Prompt | bigint | |