Class TShopTradeItem
Unit
Declaration
type TShopTradeItem = class(TInterfacedObject, IShopTradeItem)
Description
An item that a shop can buy or sell
Hierarchy
- TInterfacedObject
- TShopTradeItem
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 GetMaxBuyAmount: Cardinal; |
![]() |
procedure SetMaxBuyAmount(MaxBuyAmount: Cardinal); |
![]() |
procedure Serialize(Writer: TEoWriter); |
![]() |
class function Deserialize(Reader: TEoReader): TShopTradeItem; |
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 MaxBuyAmount: Cardinal read GetMaxBuyAmount write SetMaxBuyAmount; |
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 GetMaxBuyAmount: Cardinal; |
This item has no description. |
![]() |
procedure SetMaxBuyAmount(MaxBuyAmount: Cardinal); |
This item has no description. |
![]() |
procedure Serialize(Writer: TEoWriter); |
Serializes this Parameters
|
![]() |
class function Deserialize(Reader: TEoReader): TShopTradeItem; |
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; |
|
![]() |
property SellPrice: Cardinal read GetSellPrice write SetSellPrice; |
|
![]() |
property MaxBuyAmount: Cardinal read GetMaxBuyAmount write SetMaxBuyAmount; |
|
Generated by PasDoc 0.16.0-snapshot.