Creates a new enum.
The name of the enum.
The indexed values of the enum.
ReadonlynameThe name of the enum.
ReadonlyvaluesThe indexed values of the enum.
StaticreadRead a value from the stream.
The BinaryStream to read from.
Optionaloptions: PacketDataTypeOptions<string[]>Options for reading the data type, such as endianness.
The value read from the stream.
StaticwriteWrite a value to the stream.
The BinaryStream to write to.
The value to write.
Optionaloptions: PacketDataTypeOptions<string[]>Options for writing the data type, such as endianness.
Represents a enum for the available command packet.