Class TThreeItem
Unit
Declaration
type TThreeItem = class(TInterfacedObject, IThreeItem)
Description
An item reference with a 3-byte amount. Used for shops, lockers, and various item transfers.
Hierarchy
- TInterfacedObject
- TThreeItem
Overview
Methods
function GetByteSize: Cardinal; |
|
function GetId: Cardinal; |
|
procedure SetId(Id: Cardinal); |
|
function GetAmount: Cardinal; |
|
procedure SetAmount(Amount: Cardinal); |
|
procedure Serialize(Writer: TEoWriter); |
|
class function Deserialize(Reader: TEoReader): TThreeItem; |
Properties
property ByteSize: Cardinal read GetByteSize; |
|
property Id: Cardinal read GetId write SetId; |
|
property Amount: Cardinal read GetAmount write SetAmount; |
Description
Methods
function GetByteSize: Cardinal; |
|
This item has no description. |
function GetId: Cardinal; |
|
This item has no description. |
procedure SetId(Id: Cardinal); |
|
This item has no description. |
function GetAmount: Cardinal; |
|
This item has no description. |
procedure SetAmount(Amount: Cardinal); |
|
This item has no description. |
procedure Serialize(Writer: TEoWriter); |
|
Serializes this Parameters
|
class function Deserialize(Reader: TEoReader): TThreeItem; |
|
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 Id: Cardinal read GetId write SetId; |
|
|
property Amount: Cardinal read GetAmount write SetAmount; |
|
|
Generated by PasDoc 0.16.0-snapshot.