eolib - v2.0.1
    Preparing search index...

    Class EffectSpecServerPacket

    Taking spike or tp drain damage

    Index

    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 mapDamageType(): MapDamageType

      Returns MapDamageType

    • set mapDamageType(mapDamageType: MapDamageType): void

      Parameters

      Returns void

    • get mapDamageTypeData(): MapDamageTypeData

      Returns data associated with the mapDamageType field.

      Returns MapDamageTypeData

      Data associated with the mapDamageType field

    • set mapDamageTypeData(mapDamageTypeData: MapDamageTypeData): void

      Sets data associated with the mapDamageType field.

      Parameters

      Returns void

    • get action(): PacketAction

      Returns the packet action associated with this type.

      Returns PacketAction

      The packet action associated with this type

    • get family(): PacketFamily

      Returns the packet family associated with this type.

      Returns PacketFamily

      The packet family associated with this type

    Methods

    • Parameters

      Returns void

    • Deserializes an instance of EffectSpecServerPacket from the provided EoReader.

      Parameters

      • reader: EoReader

        the reader that the data will be deserialized from

      Returns EffectSpecServerPacket

      The deserialized data

    • Serializes an instance of EffectSpecServerPacket to the provided EoWriter.

      Parameters

      Returns void