Class TSpellTargetOtherServerPacket

Unit

Declaration

type TSpellTargetOtherServerPacket = class(TInterfacedObject, IPacket, ISpellTargetOtherServerPacket)

Description

Nearby player hit by a heal spell from a player

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetVictimId: Cardinal;
Public procedure SetVictimId(VictimId: Cardinal);
Public function GetCasterId: Cardinal;
Public procedure SetCasterId(CasterId: Cardinal);
Public function GetCasterDirection: TDirection;
Public procedure SetCasterDirection(CasterDirection: TDirection);
Public function GetSpellId: Cardinal;
Public procedure SetSpellId(SpellId: Cardinal);
Public function GetSpellHealHp: Cardinal;
Public procedure SetSpellHealHp(SpellHealHp: Cardinal);
Public function GetHpPercentage: Cardinal;
Public procedure SetHpPercentage(HpPercentage: Cardinal);
Public function GetHp: TOptional<Cardinal>;
Public procedure SetHp(Hp: TOptional<Cardinal>);
Public function Family: TPacketFamily;
Public function Action: TPacketAction;
Public procedure Serialize(Writer: TEoWriter);
Public class function PacketFamily: TPacketFamily;
Public class function PacketAction: TPacketAction;
Public class function Deserialize(Reader: TEoReader): TSpellTargetOtherServerPacket;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property VictimId: Cardinal read GetVictimId write SetVictimId;
Public property CasterId: Cardinal read GetCasterId write SetCasterId;
Public property CasterDirection: TDirection read GetCasterDirection write SetCasterDirection;
Public property SpellId: Cardinal read GetSpellId write SetSpellId;
Public property SpellHealHp: Cardinal read GetSpellHealHp write SetSpellHealHp;
Public property HpPercentage: Cardinal read GetHpPercentage write SetHpPercentage;
Public property Hp: TOptional<Cardinal> read GetHp write SetHp;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Public function GetVictimId: Cardinal;

This item has no description.

Public procedure SetVictimId(VictimId: Cardinal);

This item has no description.

Public function GetCasterId: Cardinal;

This item has no description.

Public procedure SetCasterId(CasterId: Cardinal);

This item has no description.

Public function GetCasterDirection: TDirection;

This item has no description.

Public procedure SetCasterDirection(CasterDirection: TDirection);

This item has no description.

Public function GetSpellId: Cardinal;

This item has no description.

Public procedure SetSpellId(SpellId: Cardinal);

This item has no description.

Public function GetSpellHealHp: Cardinal;

This item has no description.

Public procedure SetSpellHealHp(SpellHealHp: Cardinal);

This item has no description.

Public function GetHpPercentage: Cardinal;

This item has no description.

Public procedure SetHpPercentage(HpPercentage: Cardinal);

This item has no description.

Public function GetHp: TOptional<Cardinal>;

This item has no description.

Public procedure SetHp(Hp: TOptional<Cardinal>);

This item has no description.

Public function Family: TPacketFamily;

Returns the packet family associated with this packet.

Returns

The packet family associated with this packet

Public function Action: TPacketAction;

Returns the packet action associated with this packet.

Returns

The packet action associated with this packet

Public procedure Serialize(Writer: TEoWriter);

Serializes this TSpellTargetOtherServerPacket object to the provided TEoWriter.

Parameters
Writer
The writer that this object will be serialized to
Public class function PacketFamily: TPacketFamily;

Returns the packet family associated with this packet.

Returns

The packet family associated with this packet

Public class function PacketAction: TPacketAction;

Returns the packet action associated with this packet.

Returns

The packet action associated with this packet

Public class function Deserialize(Reader: TEoReader): TSpellTargetOtherServerPacket;

Deserializes an instance of TSpellTargetOtherServerPacket from the provided TEoReader.

Parameters
Reader
The reader that the object will be deserialized from
Returns

The deserialized object

Properties

Public property ByteSize: Cardinal read GetByteSize;

The size of the data that this object was deserialized from.

Note
0 if the instance was not created by the Deserialize method.

Public property VictimId: Cardinal read GetVictimId write SetVictimId;

Note
Value range is 0-64008

Public property CasterId: Cardinal read GetCasterId write SetCasterId;

Note
Value range is 0-64008

Public property CasterDirection: TDirection read GetCasterDirection write SetCasterDirection;

This item has no description.

Public property SpellId: Cardinal read GetSpellId write SetSpellId;

Note
Value range is 0-64008

Public property SpellHealHp: Cardinal read GetSpellHealHp write SetSpellHealHp;

Note
Value range is 0–197815216

Public property HpPercentage: Cardinal read GetHpPercentage write SetHpPercentage;

Note
Value range is 0-252

Public property Hp: TOptional<Cardinal> read GetHp write SetHp;

Note
Value range is 0-64008


Generated by PasDoc 0.16.0-snapshot.