Interface IShopTradeRecord

Unit

Declaration

type IShopTradeRecord = interface(IInterface)

Description

Record of an item that can be bought or sold in a shop

Attributes
GUID['{F3859FA9-349E-50A1-AEA3-0EC0105E17B8}']

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetItemId: Cardinal;
Public procedure SetItemId(ItemId: Cardinal);
Public function GetBuyPrice: Cardinal;
Public procedure SetBuyPrice(BuyPrice: Cardinal);
Public function GetSellPrice: Cardinal;
Public procedure SetSellPrice(SellPrice: Cardinal);
Public function GetMaxAmount: Cardinal;
Public procedure SetMaxAmount(MaxAmount: Cardinal);
Public procedure Serialize(Writer: TEoWriter);

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property ItemId: Cardinal read GetItemId write SetItemId;
Public property BuyPrice: Cardinal read GetBuyPrice write SetBuyPrice;
Public property SellPrice: Cardinal read GetSellPrice write SetSellPrice;
Public property MaxAmount: Cardinal read GetMaxAmount write SetMaxAmount;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Public function GetItemId: Cardinal;

This item has no description.

Public procedure SetItemId(ItemId: Cardinal);

This item has no description.

Public function GetBuyPrice: Cardinal;

This item has no description.

Public procedure SetBuyPrice(BuyPrice: Cardinal);

This item has no description.

Public function GetSellPrice: Cardinal;

This item has no description.

Public procedure SetSellPrice(SellPrice: Cardinal);

This item has no description.

Public function GetMaxAmount: Cardinal;

This item has no description.

Public procedure SetMaxAmount(MaxAmount: Cardinal);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this IShopTradeRecord object to the provided TEoWriter.

Parameters
Writer
The writer that this object will be serialized to

Properties

Public property ByteSize: Cardinal read GetByteSize;

The size of the data that this object was deserialized from.

Note
0 if the instance was not created by the Deserialize method.

Public property ItemId: Cardinal read GetItemId write SetItemId;

Note
Value range is 0-64008

Public property BuyPrice: Cardinal read GetBuyPrice write SetBuyPrice;

How much it costs to buy the item from the shop

Note
Value range is 0-16194276

Public property SellPrice: Cardinal read GetSellPrice write SetSellPrice;

How much the shop will pay for the item

Note
Value range is 0-16194276

Public property MaxAmount: Cardinal read GetMaxAmount write SetMaxAmount;

Max amount of the item that can be bought or sold at one time

Note
Value range is 0-252


Generated by PasDoc 0.16.0-snapshot.