← Back to Index

AvailableCommandsPacket (76)

Contains all the available commands.
Field Name Type Field Index Description
Enum Values (Required) array<string> 0 The enum values.
Chained Subcommand Values (Required) array<string> 1 The chained subcommand values.
Post Fixes (Required) array<string> 2 The post fixes.
Enum Data (Required) array<AvailableCommandsPacketEnumData> 3 The enum data.

AvailableCommandsPacketEnumData (Array Item)

Field Name Type Field Index Description
Name (Required) string 0 The name.
Values (Required) array<uint32> 1 The subcommand values.
Chained Subcommand Data (Required) array<AvailableCommandsPacketChainedSubcommandData> 4 The chained subcommand data.

AvailableCommandsPacketChainedSubcommandData (Array Item)

Field Name Type Field Index Description
Name (Required) string 0 The name.
SubCommand values array<AvailableCommandsPacketChainedSubcommandRelationship> 1 The subcommand values.

AvailableCommandsPacketChainedSubcommandRelationship (Array Item)

Field Name Type Field Index Description
SubCommand First Value (Required) varuint32 0 The first value, the sub command value id.
SubCommand Second Value (Required) varuint32 1 The second value, the enum id.
Commands (Required) array<AvailableCommandsPacketCommandData> 5 The commands data.

AvailableCommandsPacketCommandData (Array Item)

Field Name Type Field Index Description
Name (Required) string 0 The name.
Description (Required) string 1 The command description.
Flags (Required) uint16 2 The command flags.
Permission Level (Required) string 3 The command permission level.
Enum Values:
Index Value
0 Any
1 GameDirectors
2 Admin
3 Host
4 Owner
5 Internal
Alias Enum (Required) int32 4 The command alias enum.
CommandData Chained Subcommand Indexes (Required) array<uint32> 5 The command chained subcommand indexes.
Overloads (Required) array<AvailableCommandsPacketOverloadData> 6 The command overloads data.

AvailableCommandsPacketOverloadData (Array Item)

Field Name Type Field Index Description
isChaining (Required) boolean 0 The is chaining command flag, true for chaining.
Parameter Data (Required) array<AvailableCommandsPacketParamData> 1 The parameters data.

AvailableCommandsPacketParamData (Array Item)

Field Name Type Field Index Description
Name (Required) string 0 The parameter name.
Parse Symbol (Required) uint32 1 The parameter parse symbol.
Is Optional? (Required) boolean 2 The parameter optional flag. True for an optional parameter.
Options (Required) uint8 3 The parameter options.
Soft Enums (Required) array<AvailableCommandsPacketSoftEnumData> 6 The soft enums data.

AvailableCommandsPacketSoftEnumData (Array Item)

Field Name Type Field Index Description
Enum Name (Required) string 0 The enum name.
Enum Options (Required) array<string> 1 The enum options.
Constraints (Required) array<AvailableCommandsPacketConstrainedValueData> 7 The constraints data.

AvailableCommandsPacketConstrainedValueData (Array Item)

Field Name Type Field Index Description
Enum Value Symbol (Required) uint32 0 The enum value symbol.
Enum Symbol (Required) uint32 1 The enum symbol.
Constraint Indices (Required) array<uint8> 2 The constraint indices.