18 #ifndef AUCTION_HOUSE_BOT_SELLER_H
19 #define AUCTION_HOUSE_BOT_SELLER_H
92 if (
_ItemInfo[quality].ItemClassInfos[itemclass].AmountOfItems > found)
uint32 LastMissedItem
Definition: AuctionHouseBotSeller.h:72
AuctionQuality
Definition: AuctionHouseBot.h:27
uint32 MissItems
Definition: AuctionHouseBotSeller.h:50
Definition: AuctionHouseBot.h:42
std::vector< ItemToSell > ItemsToSellArray
Definition: AuctionHouseBotSeller.h:31
uint32 AmountOfItems
Definition: AuctionHouseBotSeller.h:38
Definition: AuctionHouseBotSeller.h:56
AuctionHouseType
Definition: AuctionHouseBot.h:40
AuctionHouseType GetHouseType() const
Definition: AuctionHouseBotSeller.h:70
AuctionHouseType _houseType
Definition: AuctionHouseBotSeller.h:110
uint32 PriceRatio
Definition: AuctionHouseBotSeller.h:41
uint32 GetItemsAmountPerQuality(AuctionQuality quality) const
Definition: AuctionHouseBotSeller.h:101
#define MAX_AUCTION_QUALITY
Definition: AuctionHouseBot.h:38
SellerItemClassInfo()
Definition: AuctionHouseBotSeller.h:36
std::vector< uint32 > ItemPool
Definition: AuctionHouseBotSeller.h:121
void SetMinTime(uint32 value)
Definition: AuctionHouseBotSeller.h:74
#define MAX_ITEM_CLASS
Definition: ItemTemplate.h:386
~SellerConfiguration()
Definition: AuctionHouseBotSeller.h:63
uint32 _maxTime
Definition: AuctionHouseBotSeller.h:112
uint32 Color
Definition: AuctionHouseBotSeller.h:27
void SetMissedItemsPerClass(AuctionQuality quality, ItemClass itemclass, uint32 found)
Definition: AuctionHouseBotSeller.h:90
uint32 AmountOfItems
Definition: AuctionHouseBotSeller.h:49
Definition: AuctionHouseBotSeller.h:118
uint32 RandomStackRatio
Definition: AuctionHouseBotSeller.h:42
std::vector< std::vector< uint32 > > AllItemsArray
Definition: AuctionHouseBotSeller.h:32
void SetPriceRatioPerQuality(AuctionQuality quality, uint32 value)
Definition: AuctionHouseBotSeller.h:102
uint32 GetPriceRatioPerClass(ItemClass item) const
Definition: AuctionHouseBotSeller.h:105
T min(const T &x, const T &y)
Definition: g3dmath.h:305
#define MAX_AUCTION_HOUSE_TYPE
Definition: AuctionHouseBot.h:47
uint32 GetItemsAmountPerClass(AuctionQuality quality, ItemClass itemclass) const
Definition: AuctionHouseBotSeller.h:87
uint32 GetMinTime() const
Definition: AuctionHouseBotSeller.h:78
Definition: AuctionHouseBotSeller.h:34
uint32 GetMissedItemsPerClass(AuctionQuality quality, ItemClass itemclass) const
Definition: AuctionHouseBotSeller.h:97
void SetPriceRatioPerClass(ItemClass item, uint32 value)
Definition: AuctionHouseBotSeller.h:104
SellerItemInfo _ItemInfo[MAX_AUCTION_QUALITY]
Definition: AuctionHouseBotSeller.h:113
virtual bool Update(AuctionHouseType houseType)=0
uint32 Quantity
Definition: AuctionHouseBotSeller.h:40
uint32_t uint32
Definition: Define.h:150
SellerItemInfo()
Definition: AuctionHouseBotSeller.h:47
void SetItemsAmountPerClass(AuctionQuality quality, ItemClass itemclass, uint32 amount)
Definition: AuctionHouseBotSeller.h:86
Definition: AuctionHouseBotSeller.h:45
virtual bool Initialize()=0
Definition: AuctionHouseBot.h:254
ItemClass
Definition: ItemTemplate.h:365
uint32 GetRandomStackRatioPerClass(ItemClass item) const
Definition: AuctionHouseBotSeller.h:107
uint32 _minTime
Definition: AuctionHouseBotSeller.h:111
void SetItemsQuantityPerClass(AuctionQuality quality, ItemClass itemclass, uint32 qty)
Definition: AuctionHouseBotSeller.h:88
uint32 PriceRatio
Definition: AuctionHouseBotSeller.h:51
Definition: ItemTemplate.h:647
uint32 MissItems
Definition: AuctionHouseBotSeller.h:39
Definition: AuctionHouseBotSeller.h:25
void SetRandomStackRatioPerClass(ItemClass item, uint32 value)
Definition: AuctionHouseBotSeller.h:106
#define TC_GAME_API
Definition: Define.h:134
SellerConfiguration()
Definition: AuctionHouseBotSeller.h:59
void Initialize(AuctionHouseType houseType)
Definition: AuctionHouseBotSeller.h:65
const FieldDescriptor value
Definition: descriptor.h:1522
uint32 Itemclass
Definition: AuctionHouseBotSeller.h:28
uint32_t uint32
Definition: g3dmath.h:168
uint32 GetMaxTime() const
Definition: AuctionHouseBotSeller.h:84
uint32 GetPriceRatioPerQuality(AuctionQuality quality) const
Definition: AuctionHouseBotSeller.h:103
void SetItemsAmountPerQuality(AuctionQuality quality, uint32 cnt)
Definition: AuctionHouseBotSeller.h:100
SellerItemClassInfo ItemClassInfos[MAX_ITEM_CLASS]
Definition: AuctionHouseBotSeller.h:53
uint32 GetItemsQuantityPerClass(AuctionQuality quality, ItemClass itemclass) const
Definition: AuctionHouseBotSeller.h:89
void SetMaxTime(uint32 value)
Definition: AuctionHouseBotSeller.h:83