Interface IShopTradeItem

Unit

Declaration

type IShopTradeItem = interface(IInterface)

Description

An item that a shop can buy or sell

Attributes
GUID['{074A01CB-4F53-5AFA-9FE4-CE9A67AD9B4B}']

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 GetMaxBuyAmount: Cardinal;
Public procedure SetMaxBuyAmount(MaxBuyAmount: 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 MaxBuyAmount: Cardinal read GetMaxBuyAmount write SetMaxBuyAmount;

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 GetMaxBuyAmount: Cardinal;

This item has no description.

Public procedure SetMaxBuyAmount(MaxBuyAmount: Cardinal);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this IShopTradeItem 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;

Note
Value range is 0-16194276

Public property SellPrice: Cardinal read GetSellPrice write SetSellPrice;

Note
Value range is 0-16194276

Public property MaxBuyAmount: Cardinal read GetMaxBuyAmount write SetMaxBuyAmount;

Note
Value range is 0-252


Generated by PasDoc 0.16.0-snapshot.