Creates a new instance of the Variant class.
The options for the variant.
The arguments of the Variant.
The arguments of the Variant.
The options for the variant.
Parses the data of the Variant and returns a TankPacket from it.
Static
fromCreates a new Variant class.
Optional
opts: VariantOptions | VariantArgThe options for the variant.
Rest
...args: VariantArg[]The arguments of the Variant.
Static
to
Represents the Variant class.