Class TCastReplyServerPacket

Unit

Declaration

type TCastReplyServerPacket = class(TInterfacedObject, IPacket, ICastReplyServerPacket)

Description

Nearby NPC hit by a spell from a player

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetSpellId: Cardinal;
Public procedure SetSpellId(SpellId: Cardinal);
Public function GetCasterId: Cardinal;
Public procedure SetCasterId(CasterId: Cardinal);
Public function GetCasterDirection: TDirection;
Public procedure SetCasterDirection(CasterDirection: TDirection);
Public function GetNpcIndex: Cardinal;
Public procedure SetNpcIndex(NpcIndex: Cardinal);
Public function GetDamage: Cardinal;
Public procedure SetDamage(Damage: Cardinal);
Public function GetHpPercentage: Cardinal;
Public procedure SetHpPercentage(HpPercentage: Cardinal);
Public function GetCasterTp: TOptional<Cardinal>;
Public procedure SetCasterTp(CasterTp: TOptional<Cardinal>);
Public function GetKillStealProtection: TOptional<TNpcKillStealProtectionState>;
Public procedure SetKillStealProtection(KillStealProtection: TOptional<TNpcKillStealProtectionState>);
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): TCastReplyServerPacket;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property SpellId: Cardinal read GetSpellId write SetSpellId;
Public property CasterId: Cardinal read GetCasterId write SetCasterId;
Public property CasterDirection: TDirection read GetCasterDirection write SetCasterDirection;
Public property NpcIndex: Cardinal read GetNpcIndex write SetNpcIndex;
Public property Damage: Cardinal read GetDamage write SetDamage;
Public property HpPercentage: Cardinal read GetHpPercentage write SetHpPercentage;
Public property CasterTp: TOptional<Cardinal> read GetCasterTp write SetCasterTp;
Public property KillStealProtection: TOptional<TNpcKillStealProtectionState> read GetKillStealProtection write SetKillStealProtection;

Description

Methods

Public function GetByteSize: Cardinal;

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 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 GetNpcIndex: Cardinal;

This item has no description.

Public procedure SetNpcIndex(NpcIndex: Cardinal);

This item has no description.

Public function GetDamage: Cardinal;

This item has no description.

Public procedure SetDamage(Damage: 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 GetCasterTp: TOptional<Cardinal>;

This item has no description.

Public procedure SetCasterTp(CasterTp: TOptional<Cardinal>);

This item has no description.

Public function GetKillStealProtection: TOptional<TNpcKillStealProtectionState>;

This item has no description.

Public procedure SetKillStealProtection(KillStealProtection: TOptional<TNpcKillStealProtectionState>);

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 TCastReplyServerPacket 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): TCastReplyServerPacket;

Deserializes an instance of TCastReplyServerPacket 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 SpellId: Cardinal read GetSpellId write SetSpellId;

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 NpcIndex: Cardinal read GetNpcIndex write SetNpcIndex;

Note
Value range is 0-64008

Public property Damage: Cardinal read GetDamage write SetDamage;

Note
Value range is 0-16194276

Public property HpPercentage: Cardinal read GetHpPercentage write SetHpPercentage;

Note
Value range is 0-64008

Public property CasterTp: TOptional<Cardinal> read GetCasterTp write SetCasterTp;

This field should be sent to the attacker, but not nearby players

Note
Value range is 0-64008

Public property KillStealProtection: TOptional<TNpcKillStealProtectionState> read GetKillStealProtection write SetKillStealProtection;

This field should be sent to the attacker, but not nearby players


Generated by PasDoc 0.16.0-snapshot.