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.