ActivityFlags
ActivityFlags ⇐ Bitfield
Section titled “ActivityFlags ⇐ Bitfield”Kind: global class
Extends: Bitfield
- ActivityFlags ⇐
Bitfield- new ActivityFlags(…bit)
- .Default
- .All ⇒
- .Flags :
enum
new ActivityFlags(…bit)
Section titled “new ActivityFlags(…bit)”Constructs a new instance of the class.
| Param | Type | Description |
|---|---|---|
| …bit | bigint | The bits to set in the bitfield. |
ActivityFlags.Default
Section titled “ActivityFlags.Default”Sets the default value for the ActivityFlags to 0n.
Kind: static property of ActivityFlags
| Param | Type | Description |
|---|---|---|
| Default | bigint | The default bit value to set. |
ActivityFlags.All ⇒
Section titled “ActivityFlags.All ⇒”Calculates the value of the ActivityFlags.All by performing a bitwise OR operation on all the values of the ActivityFlags.Flags.
Kind: static property of ActivityFlags
Returns: The calculated value of ActivityFlags.All.
| Param | Type | Description |
|---|---|---|
| All | bigint | All bit value. |
ActivityFlags.Flags : enum
Section titled “ActivityFlags.Flags : enum”Represents the available flags for activity settings.
Kind: static enum of ActivityFlags
Read only: true
Properties
| Name | Type | Default |
|---|---|---|
| Instance | bigint | |
| Join | bigint | |
| Spectate | bigint | |
| Join_Request | bigint | |
| Sync | bigint | |
| Play | bigint | |
| Party_Privacy_Friends | bigint | |
| Party_Privacy_Voice_Channel | bigint | |
| Embedded | bigint | |