Class TDropRecord
Unit
Declaration
type TDropRecord = class(TInterfacedObject, IDropRecord)
Description
Record of an item an NPC can drop when killed
Hierarchy
- TInterfacedObject
- TDropRecord
Overview
Methods
function GetByteSize: Cardinal; |
|
function GetItemId: Cardinal; |
|
procedure SetItemId(ItemId: Cardinal); |
|
function GetMinAmount: Cardinal; |
|
procedure SetMinAmount(MinAmount: Cardinal); |
|
function GetMaxAmount: Cardinal; |
|
procedure SetMaxAmount(MaxAmount: Cardinal); |
|
function GetRate: Cardinal; |
|
procedure SetRate(Rate: Cardinal); |
|
procedure Serialize(Writer: TEoWriter); |
|
class function Deserialize(Reader: TEoReader): TDropRecord; |
Properties
property ByteSize: Cardinal read GetByteSize; |
|
property ItemId: Cardinal read GetItemId write SetItemId; |
|
property MinAmount: Cardinal read GetMinAmount write SetMinAmount; |
|
property MaxAmount: Cardinal read GetMaxAmount write SetMaxAmount; |
|
property Rate: Cardinal read GetRate write SetRate; |
Description
Methods
function GetByteSize: Cardinal; |
|
This item has no description. |
function GetItemId: Cardinal; |
|
This item has no description. |
procedure SetItemId(ItemId: Cardinal); |
|
This item has no description. |
function GetMinAmount: Cardinal; |
|
This item has no description. |
procedure SetMinAmount(MinAmount: Cardinal); |
|
This item has no description. |
function GetMaxAmount: Cardinal; |
|
This item has no description. |
procedure SetMaxAmount(MaxAmount: Cardinal); |
|
This item has no description. |
function GetRate: Cardinal; |
|
This item has no description. |
procedure SetRate(Rate: Cardinal); |
|
This item has no description. |
procedure Serialize(Writer: TEoWriter); |
|
Serializes this Parameters
|
class function Deserialize(Reader: TEoReader): TDropRecord; |
|
Deserializes an instance of Parameters
ReturnsThe deserialized object |
Properties
property ByteSize: Cardinal read GetByteSize; |
|
The size of the data that this object was deserialized from.
|
property ItemId: Cardinal read GetItemId write SetItemId; |
|
|
property MinAmount: Cardinal read GetMinAmount write SetMinAmount; |
|
|
property MaxAmount: Cardinal read GetMaxAmount write SetMaxAmount; |
|
|
property Rate: Cardinal read GetRate write SetRate; |
|
Chance (x in 64,000) of the item being dropped
|
Generated by PasDoc 0.16.0-snapshot.