Class NpcUpdatePosition

An NPC walking

Hierarchy

  • NpcUpdatePosition

Constructors

Properties

_byteSize: number = 0
_coords: Coords = null
_direction: Direction = null
_npcIndex: 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 npcIndex(): number
  • Remarks

    • Value range is 0-252

    Returns number

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

    • Value range is 0-252

    Parameters

    • npcIndex: number

    Returns void

Methods

  • Deserializes an instance of NpcUpdatePosition from the provided EoReader.

    Returns

    The deserialized data

    Parameters

    • reader: EoReader

      the reader that the data will be deserialized from

    Returns NpcUpdatePosition

  • Serializes an instance of NpcUpdatePosition to the provided EoWriter.

    Parameters

    Returns void

Generated using TypeDoc