eolib - v2.0.1
    Preparing search index...

    Class ItemTypeDataEffectPotion

    Data associated with itemType value ItemType.EffectPotion

    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 effectId(): number

      Returns number

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

      Parameters

      • effectId: number

      Returns void

      • Value range is 0-64008

    Methods

    • Deserializes an instance of ItemTypeDataEffectPotion from the provided EoReader.

      Parameters

      • reader: EoReader

        the reader that the data will be deserialized from

      Returns ItemTypeDataEffectPotion

      The deserialized data

    • Serializes an instance of ItemTypeDataEffectPotion to the provided EoWriter.

      Parameters

      Returns void