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.