Class WalkAction

Common data between walk packets

Hierarchy

  • WalkAction

Constructors

Properties

_byteSize: number = 0
_coords: Coords = null
_direction: Direction = null
_timestamp: number = null

Accessors

  • get byteSize(): number
  • Returns the size of the data that this was deserialized from.

    Returns

    The size of the data that this was deserialized from

    Returns number

  • get coords(): Coords
  • Returns Coords

  • set coords(coords: Coords): void
  • Parameters

    Returns void

  • get direction(): Direction
  • Returns Direction

  • set direction(direction: Direction): void
  • Parameters

    Returns void

  • get timestamp(): number
  • Remarks

    • Value range is 0-16194276

    Returns number

  • set timestamp(timestamp: number): void
  • Remarks

    • Value range is 0-16194276

    Parameters

    • timestamp: number

    Returns void

Methods

  • Deserializes an instance of WalkAction from the provided EoReader.

    Returns

    The deserialized data

    Parameters

    • reader: EoReader

      the reader that the data will be deserialized from

    Returns WalkAction

  • Serializes an instance of WalkAction to the provided EoWriter.

    Parameters

    • writer: EoWriter

      the writer that the data will be serialized to

    • data: WalkAction

      the data to serialize

    Returns void

Generated using TypeDoc