Class NpcAgreeServerPacket

Reply to request for information about nearby NPCs

Hierarchy

  • NpcAgreeServerPacket

Constructors

Properties

_byteSize: number = 0
_npcs: NpcMapInfo[] = null
_npcsCount: 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 npcs(): NpcMapInfo[]
  • Remarks

    • Length must be 64008 or less.

    Returns NpcMapInfo[]

  • set npcs(npcs: NpcMapInfo[]): void
  • Remarks

    • Length must be 64008 or less.

    Parameters

    Returns void

  • get action(): PacketAction
  • Returns the packet action associated with this type.

    Returns

    The packet action associated with this type

    Returns PacketAction

  • get family(): PacketFamily
  • Returns the packet family associated with this type.

    Returns

    The packet family associated with this type

    Returns PacketFamily

Methods

  • Parameters

    Returns void

  • Deserializes an instance of NpcAgreeServerPacket from the provided EoReader.

    Returns

    The deserialized data

    Parameters

    • reader: EoReader

      the reader that the data will be deserialized from

    Returns NpcAgreeServerPacket

  • Serializes an instance of NpcAgreeServerPacket to the provided EoWriter.

    Parameters

    Returns void

Generated using TypeDoc