Class NpcMapInfo

Information about a nearby NPC

Hierarchy

  • NpcMapInfo

Constructors

Properties

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

    • Value range is 0-64008

    Returns number

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

    • Value range is 0-64008

    Parameters

    • id: number

    Returns void

  • get index(): number
  • Remarks

    • Value range is 0-252

    Returns number

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

    • Value range is 0-252

    Parameters

    • index: number

    Returns void

Methods

  • Deserializes an instance of NpcMapInfo from the provided EoReader.

    Returns

    The deserialized data

    Parameters

    • reader: EoReader

      the reader that the data will be deserialized from

    Returns NpcMapInfo

  • Serializes an instance of NpcMapInfo to the provided EoWriter.

    Parameters

    • writer: EoWriter

      the writer that the data will be serialized to

    • data: NpcMapInfo

      the data to serialize

    Returns void

Generated using TypeDoc