Class QuestReportServerPacket

NPC chat messages

Hierarchy

  • QuestReportServerPacket

Constructors

Properties

_byteSize: number = 0
_messages: string[] = null
_npcId: number = null

Accessors

  • get action(): PacketAction
  • Returns PacketAction

  • 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 family(): PacketFamily
  • Returns PacketFamily

  • get messages(): string[]
  • Returns string[]

  • set messages(messages: string[]): void
  • Parameters

    • messages: string[]

    Returns void

  • get npcId(): number
  • Remarks

    • Value range is 0-64008

    Returns number

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

    • Value range is 0-64008

    Parameters

    • npcId: number

    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 QuestReportServerPacket from the provided EoReader.

    Returns

    The deserialized data

    Parameters

    • reader: EoReader

      the reader that the data will be deserialized from

    Returns QuestReportServerPacket

  • Serializes an instance of QuestReportServerPacket to the provided EoWriter.

    Parameters

    Returns void

Generated using TypeDoc