Interface IDropRecord

Unit

Declaration

type IDropRecord = interface(IInterface)

Description

Record of an item an NPC can drop when killed

Attributes
GUID['{9C23E2F7-4F2A-5D9A-A49C-85BEA015A641}']

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetItemId: Cardinal;
Public procedure SetItemId(ItemId: Cardinal);
Public function GetMinAmount: Cardinal;
Public procedure SetMinAmount(MinAmount: Cardinal);
Public function GetMaxAmount: Cardinal;
Public procedure SetMaxAmount(MaxAmount: Cardinal);
Public function GetRate: Cardinal;
Public procedure SetRate(Rate: Cardinal);
Public procedure Serialize(Writer: TEoWriter);

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property ItemId: Cardinal read GetItemId write SetItemId;
Public property MinAmount: Cardinal read GetMinAmount write SetMinAmount;
Public property MaxAmount: Cardinal read GetMaxAmount write SetMaxAmount;
Public property Rate: Cardinal read GetRate write SetRate;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Public function GetItemId: Cardinal;

This item has no description.

Public procedure SetItemId(ItemId: Cardinal);

This item has no description.

Public function GetMinAmount: Cardinal;

This item has no description.

Public procedure SetMinAmount(MinAmount: Cardinal);

This item has no description.

Public function GetMaxAmount: Cardinal;

This item has no description.

Public procedure SetMaxAmount(MaxAmount: Cardinal);

This item has no description.

Public function GetRate: Cardinal;

This item has no description.

Public procedure SetRate(Rate: Cardinal);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this IDropRecord 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 ItemId: Cardinal read GetItemId write SetItemId;

Note
Value range is 0-64008

Public property MinAmount: Cardinal read GetMinAmount write SetMinAmount;

Note
Value range is 0-16194276

Public property MaxAmount: Cardinal read GetMaxAmount write SetMaxAmount;

Note
Value range is 0-16194276

Public property Rate: Cardinal read GetRate write SetRate;

Chance (x in 64,000) of the item being dropped

Note
Value range is 0-64008


Generated by PasDoc 0.16.0-snapshot.