Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TankPacket

A class that represents a TankPacket

Hierarchy

  • TankPacket

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

data

The data for the TankPacket

Methods

parse

  • parse(): Buffer
  • Parse the TankPacket to bytes

    Returns Buffer

Static from

  • Create a new TankPacket

    Parameters

    • data: TankOptions | Buffer

      The options for the TankPacket or the Buffer to convert to a TankPacket

    Returns TankPacket

Generated using TypeDoc