Interface INpcReplyServerPacket
Unit
Declaration
type INpcReplyServerPacket = interface(IPacket)
Description
Nearby NPC hit by a player
Hierarchy
- IInterface
- IPacket
- INpcReplyServerPacket
Overview
Methods
function GetByteSize: Cardinal; |
|
function GetPlayerId: Cardinal; |
|
procedure SetPlayerId(PlayerId: Cardinal); |
|
function GetPlayerDirection: TDirection; |
|
procedure SetPlayerDirection(PlayerDirection: TDirection); |
|
function GetNpcIndex: Cardinal; |
|
procedure SetNpcIndex(NpcIndex: Cardinal); |
|
function GetDamage: Cardinal; |
|
procedure SetDamage(Damage: Cardinal); |
|
function GetHpPercentage: Cardinal; |
|
procedure SetHpPercentage(HpPercentage: Cardinal); |
|
function GetKillStealProtection: TOptional<TNpcKillStealProtectionState>; |
|
procedure SetKillStealProtection(KillStealProtection: TOptional<TNpcKillStealProtectionState>); |
|
function Family: TPacketFamily; |
|
function Action: TPacketAction; |
|
procedure Serialize(Writer: TEoWriter); |
Properties
property ByteSize: Cardinal read GetByteSize; |
|
property PlayerId: Cardinal read GetPlayerId write SetPlayerId; |
|
property PlayerDirection: TDirection read GetPlayerDirection write SetPlayerDirection; |
|
property NpcIndex: Cardinal read GetNpcIndex write SetNpcIndex; |
|
property Damage: Cardinal read GetDamage write SetDamage; |
|
property HpPercentage: Cardinal read GetHpPercentage write SetHpPercentage; |
|
property KillStealProtection: TOptional<TNpcKillStealProtectionState> read GetKillStealProtection write SetKillStealProtection; |
Description
Methods
function GetByteSize: Cardinal; |
|
This item has no description. Attributes
|
function GetPlayerId: Cardinal; |
|
This item has no description. |
procedure SetPlayerId(PlayerId: Cardinal); |
|
This item has no description. |
function GetPlayerDirection: TDirection; |
|
This item has no description. |
procedure SetPlayerDirection(PlayerDirection: TDirection); |
|
This item has no description. |
function GetNpcIndex: Cardinal; |
|
This item has no description. |
procedure SetNpcIndex(NpcIndex: Cardinal); |
|
This item has no description. |
function GetDamage: Cardinal; |
|
This item has no description. |
procedure SetDamage(Damage: Cardinal); |
|
This item has no description. |
function GetHpPercentage: Cardinal; |
|
This item has no description. |
procedure SetHpPercentage(HpPercentage: Cardinal); |
|
This item has no description. |
function GetKillStealProtection: TOptional<TNpcKillStealProtectionState>; |
|
This item has no description. |
procedure SetKillStealProtection(KillStealProtection: TOptional<TNpcKillStealProtectionState>); |
|
This item has no description. |
function Family: TPacketFamily; |
|
Returns the packet family associated with this packet. ReturnsThe packet family associated with this packet |
function Action: TPacketAction; |
|
Returns the packet action associated with this packet. ReturnsThe packet action associated with this packet |
procedure Serialize(Writer: TEoWriter); |
|
Serializes this Parameters
|
Properties
property ByteSize: Cardinal read GetByteSize; |
|
The size of the data that this object was deserialized from.
|
property PlayerId: Cardinal read GetPlayerId write SetPlayerId; |
|
|
property PlayerDirection: TDirection read GetPlayerDirection write SetPlayerDirection; |
|
This item has no description. |
property NpcIndex: Cardinal read GetNpcIndex write SetNpcIndex; |
|
|
property Damage: Cardinal read GetDamage write SetDamage; |
|
|
property HpPercentage: Cardinal read GetHpPercentage write SetHpPercentage; |
|
|
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.