Interface ICastReplyServerPacket

Unit

Declaration

type ICastReplyServerPacket = interface(IPacket)

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

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.

Attributes
GUID['{720ADA0F-2965-577B-9295-B14796B2AB6C}']
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 ICastReplyServerPacket object to the provided TEoWriter.

Parameters
Writer
The writer that this object will be serialized to

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.