Class EffectSpecServerPacket

Taking spike or tp drain damage

Hierarchy

  • EffectSpecServerPacket

Constructors

Properties

_byteSize: number = 0
_mapDamageType: MapDamageType = null
_mapDamageTypeData: MapDamageTypeData

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

  • set mapDamageType(mapDamageType: MapDamageType): void
  • Parameters

    Returns void

  • get mapDamageTypeData(): MapDamageTypeData
  • Returns data associated with the mapDamageType field.

    Returns

    Data associated with the mapDamageType field

    Returns MapDamageTypeData

  • 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

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

    Returns

    The deserialized data

    Parameters

    • reader: EoReader

      the reader that the data will be deserialized from

    Returns EffectSpecServerPacket

  • Serializes an instance of EffectSpecServerPacket to the provided EoWriter.

    Parameters

    Returns void

Generated using TypeDoc