Class TNpcUpdateAttack

Unit

Declaration

type TNpcUpdateAttack = class(TInterfacedObject, INpcUpdateAttack)

Description

An NPC attacking

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetNpcIndex: Cardinal;
Public procedure SetNpcIndex(NpcIndex: Cardinal);
Public function GetKilled: TPlayerKilledState;
Public procedure SetKilled(Killed: TPlayerKilledState);
Public function GetDirection: TDirection;
Public procedure SetDirection(Direction: TDirection);
Public function GetPlayerId: Cardinal;
Public procedure SetPlayerId(PlayerId: Cardinal);
Public function GetDamage: Cardinal;
Public procedure SetDamage(Damage: Cardinal);
Public function GetHpPercentage: Cardinal;
Public procedure SetHpPercentage(HpPercentage: Cardinal);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TNpcUpdateAttack;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property NpcIndex: Cardinal read GetNpcIndex write SetNpcIndex;
Public property Killed: TPlayerKilledState read GetKilled write SetKilled;
Public property Direction: TDirection read GetDirection write SetDirection;
Public property PlayerId: Cardinal read GetPlayerId write SetPlayerId;
Public property Damage: Cardinal read GetDamage write SetDamage;
Public property HpPercentage: Cardinal read GetHpPercentage write SetHpPercentage;

Description

Methods

Public function GetByteSize: Cardinal;

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 GetKilled: TPlayerKilledState;

This item has no description.

Public procedure SetKilled(Killed: TPlayerKilledState);

This item has no description.

Public function GetDirection: TDirection;

This item has no description.

Public procedure SetDirection(Direction: TDirection);

This item has no description.

Public function GetPlayerId: Cardinal;

This item has no description.

Public procedure SetPlayerId(PlayerId: 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 procedure Serialize(Writer: TEoWriter);

Serializes this TNpcUpdateAttack object to the provided TEoWriter.

Parameters
Writer
The writer that this object will be serialized to
Public class function Deserialize(Reader: TEoReader): TNpcUpdateAttack;

Deserializes an instance of TNpcUpdateAttack 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 NpcIndex: Cardinal read GetNpcIndex write SetNpcIndex;

Note
Value range is 0-252

Public property Killed: TPlayerKilledState read GetKilled write SetKilled;

This item has no description.

Public property Direction: TDirection read GetDirection write SetDirection;

This item has no description.

Public property PlayerId: Cardinal read GetPlayerId write SetPlayerId;

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-252


Generated by PasDoc 0.16.0-snapshot.