Class TNpcKilledData

Unit

Declaration

type TNpcKilledData = class(TInterfacedObject, INpcKilledData)

Description

Information about an NPC that has been killed

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetKillerId: Cardinal;
Public procedure SetKillerId(KillerId: Cardinal);
Public function GetKillerDirection: TDirection;
Public procedure SetKillerDirection(KillerDirection: TDirection);
Public function GetNpcIndex: Cardinal;
Public procedure SetNpcIndex(NpcIndex: Cardinal);
Public function GetDropIndex: Cardinal;
Public procedure SetDropIndex(DropIndex: Cardinal);
Public function GetDropId: Cardinal;
Public procedure SetDropId(DropId: Cardinal);
Public function GetDropCoords: ICoords;
Public procedure SetDropCoords(DropCoords: ICoords);
Public function GetDropAmount: Cardinal;
Public procedure SetDropAmount(DropAmount: Cardinal);
Public function GetDamage: Cardinal;
Public procedure SetDamage(Damage: Cardinal);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TNpcKilledData;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property KillerId: Cardinal read GetKillerId write SetKillerId;
Public property KillerDirection: TDirection read GetKillerDirection write SetKillerDirection;
Public property NpcIndex: Cardinal read GetNpcIndex write SetNpcIndex;
Public property DropIndex: Cardinal read GetDropIndex write SetDropIndex;
Public property DropId: Cardinal read GetDropId write SetDropId;
Public property DropCoords: ICoords read GetDropCoords write SetDropCoords;
Public property DropAmount: Cardinal read GetDropAmount write SetDropAmount;
Public property Damage: Cardinal read GetDamage write SetDamage;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Public function GetKillerId: Cardinal;

This item has no description.

Public procedure SetKillerId(KillerId: Cardinal);

This item has no description.

Public function GetKillerDirection: TDirection;

This item has no description.

Public procedure SetKillerDirection(KillerDirection: 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 GetDropIndex: Cardinal;

This item has no description.

Public procedure SetDropIndex(DropIndex: Cardinal);

This item has no description.

Public function GetDropId: Cardinal;

This item has no description.

Public procedure SetDropId(DropId: Cardinal);

This item has no description.

Public function GetDropCoords: ICoords;

This item has no description.

Public procedure SetDropCoords(DropCoords: ICoords);

This item has no description.

Public function GetDropAmount: Cardinal;

This item has no description.

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

Serializes this TNpcKilledData object to the provided TEoWriter.

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

Deserializes an instance of TNpcKilledData 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 KillerId: Cardinal read GetKillerId write SetKillerId;

Note
Value range is 0-64008

Public property KillerDirection: TDirection read GetKillerDirection write SetKillerDirection;

This item has no description.

Public property NpcIndex: Cardinal read GetNpcIndex write SetNpcIndex;

Note
Value range is 0-64008

Public property DropIndex: Cardinal read GetDropIndex write SetDropIndex;

Note
Value range is 0-64008

Public property DropId: Cardinal read GetDropId write SetDropId;

Note
Value range is 0-64008

Public property DropCoords: ICoords read GetDropCoords write SetDropCoords;

This item has no description.

Public property DropAmount: Cardinal read GetDropAmount write SetDropAmount;

Note
Value range is 0–197815216

Public property Damage: Cardinal read GetDamage write SetDamage;

Note
Value range is 0-16194276


Generated by PasDoc 0.16.0-snapshot.