Class TCharItem
Unit
Declaration
type TCharItem = class(TInterfacedObject, ICharItem)
Description
An item reference with a 1-byte amount. Used for craft ingredients.
Hierarchy
- TInterfacedObject
- TCharItem
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): TCharItem; |
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): TCharItem; |
|
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.
