Class TShopTradeRecord
Unit
Declaration
type TShopTradeRecord = class(TInterfacedObject, IShopTradeRecord)
Description
Record of an item that can be bought or sold in a shop
Hierarchy
- TInterfacedObject
- TShopTradeRecord
Overview
Methods
![]() |
function GetByteSize: Cardinal; |
![]() |
function GetItemId: Cardinal; |
![]() |
procedure SetItemId(ItemId: Cardinal); |
![]() |
function GetBuyPrice: Cardinal; |
![]() |
procedure SetBuyPrice(BuyPrice: Cardinal); |
![]() |
function GetSellPrice: Cardinal; |
![]() |
procedure SetSellPrice(SellPrice: Cardinal); |
![]() |
function GetMaxAmount: Cardinal; |
![]() |
procedure SetMaxAmount(MaxAmount: Cardinal); |
![]() |
procedure Serialize(Writer: TEoWriter); |
![]() |
class function Deserialize(Reader: TEoReader): TShopTradeRecord; |
Properties
![]() |
property ByteSize: Cardinal read GetByteSize; |
![]() |
property ItemId: Cardinal read GetItemId write SetItemId; |
![]() |
property BuyPrice: Cardinal read GetBuyPrice write SetBuyPrice; |
![]() |
property SellPrice: Cardinal read GetSellPrice write SetSellPrice; |
![]() |
property MaxAmount: Cardinal read GetMaxAmount write SetMaxAmount; |
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 GetBuyPrice: Cardinal; |
This item has no description. |
![]() |
procedure SetBuyPrice(BuyPrice: Cardinal); |
This item has no description. |
![]() |
function GetSellPrice: Cardinal; |
This item has no description. |
![]() |
procedure SetSellPrice(SellPrice: Cardinal); |
This item has no description. |
![]() |
function GetMaxAmount: Cardinal; |
This item has no description. |
![]() |
procedure SetMaxAmount(MaxAmount: Cardinal); |
This item has no description. |
![]() |
procedure Serialize(Writer: TEoWriter); |
Serializes this Parameters
|
![]() |
class function Deserialize(Reader: TEoReader): TShopTradeRecord; |
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 BuyPrice: Cardinal read GetBuyPrice write SetBuyPrice; |
How much it costs to buy the item from the shop
|
![]() |
property SellPrice: Cardinal read GetSellPrice write SetSellPrice; |
How much the shop will pay for the item
|
![]() |
property MaxAmount: Cardinal read GetMaxAmount write SetMaxAmount; |
Max amount of the item that can be bought or sold at one time
|
Generated by PasDoc 0.16.0-snapshot.