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.
