eolib - v2.0.1
    Preparing search index...

    Class DropNpcRecord

    Record of potential drops from an NPC

    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    • get byteSize(): number

      Returns the size of the data that this was deserialized from.

      Returns number

      The size of the data that this was deserialized from

    • get drops(): DropRecord[]

      Returns DropRecord[]

      • Length must be 64008 or less.
    • set drops(drops: DropRecord[]): void

      Parameters

      Returns void

      • Length must be 64008 or less.
    • get npcId(): number

      Returns number

      • Value range is 0-64008
    • set npcId(npcId: number): void

      Parameters

      • npcId: number

      Returns void

      • Value range is 0-64008

    Methods

    • Deserializes an instance of DropNpcRecord from the provided EoReader.

      Parameters

      • reader: EoReader

        the reader that the data will be deserialized from

      Returns DropNpcRecord

      The deserialized data

    • Serializes an instance of DropNpcRecord to the provided EoWriter.

      Parameters

      Returns void