![]() |
TrinityCore
|
#include <AuctionHouseBotSeller.h>
Inheritance diagram for AuctionBotSeller:Public Types | |
| typedef std::vector< uint32 > | ItemPool |
Public Member Functions | |
| AuctionBotSeller () | |
| ~AuctionBotSeller () | |
| bool | Initialize () override |
| bool | Update (AuctionHouseType houseType) override |
| void | AddNewAuctions (SellerConfiguration &config) |
| void | SetItemsRatio (uint32 al, uint32 ho, uint32 ne) |
| void | SetItemsRatioForHouse (AuctionHouseType house, uint32 val) |
| void | SetItemsAmount (std::array< uint32, MAX_AUCTION_QUALITY > const &amounts) |
| void | SetItemsAmountForQuality (AuctionQuality quality, uint32 val) |
| void | LoadConfig () |
Public Member Functions inherited from AuctionBotAgent | |
| AuctionBotAgent ()=default | |
| AuctionBotAgent (AuctionBotAgent const &)=delete | |
| AuctionBotAgent (AuctionBotAgent &&)=delete | |
| AuctionBotAgent & | operator= (AuctionBotAgent const &)=delete |
| AuctionBotAgent & | operator= (AuctionBotAgent &&)=delete |
| virtual | ~AuctionBotAgent ()=default |
Private Member Functions | |
| void | LoadSellerValues (SellerConfiguration &config) |
| uint32 | SetStat (SellerConfiguration &config) |
| bool | GetItemsToSell (SellerConfiguration &config, ItemsToSellArray &itemsToSellArray, AllItemsArray const &addedItem) |
| void | SetPricesOfItem (ItemTemplate const *itemProto, SellerConfiguration &config, uint32 &buyout, uint32 &bid, uint32 stackcnt) |
| uint32 | GetStackSizeForItem (ItemTemplate const *itemProto, SellerConfiguration &config) const |
| void | LoadItemsQuantity (SellerConfiguration &config) |
Static Private Member Functions | |
| static uint32 | GetBuyModifier (ItemTemplate const *prototype) |
| static uint32 | GetSellModifier (ItemTemplate const *itemProto) |
Private Attributes | |
| SellerConfiguration | _houseConfig [MAX_AUCTION_HOUSE_TYPE] |
| ItemPool | _itemPool [MAX_AUCTION_QUALITY][MAX_ITEM_CLASS] |
Definition at line 119 of file AuctionHouseBotSeller.h.
| typedef std::vector<uint32> AuctionBotSeller::ItemPool |
Definition at line 122 of file AuctionHouseBotSeller.h.
| AuctionBotSeller::AuctionBotSeller | ( | ) |
| AuctionBotSeller::~AuctionBotSeller | ( | ) |
Definition at line 37 of file AuctionHouseBotSeller.cpp.
| void AuctionBotSeller::AddNewAuctions | ( | SellerConfiguration & | config | ) |
Definition at line 814 of file AuctionHouseBotSeller.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Definition at line 658 of file AuctionHouseBotSeller.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 564 of file AuctionHouseBotSeller.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Definition at line 643 of file AuctionHouseBotSeller.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 634 of file AuctionHouseBotSeller.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements AuctionBotAgent.
Definition at line 41 of file AuctionHouseBotSeller.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void AuctionBotSeller::LoadConfig | ( | ) |
Definition at line 370 of file AuctionHouseBotSeller.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 377 of file AuctionHouseBotSeller.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 488 of file AuctionHouseBotSeller.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void AuctionBotSeller::SetItemsAmount | ( | std::array< uint32, MAX_AUCTION_QUALITY > const & | amounts | ) |
Definition at line 774 of file AuctionHouseBotSeller.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void AuctionBotSeller::SetItemsAmountForQuality | ( | AuctionQuality | quality, |
| uint32 | val | ||
| ) |
Definition at line 788 of file AuctionHouseBotSeller.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 750 of file AuctionHouseBotSeller.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void AuctionBotSeller::SetItemsRatioForHouse | ( | AuctionHouseType | house, |
| uint32 | val | ||
| ) |
Definition at line 760 of file AuctionHouseBotSeller.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 589 of file AuctionHouseBotSeller.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 524 of file AuctionHouseBotSeller.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements AuctionBotAgent.
Definition at line 914 of file AuctionHouseBotSeller.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 138 of file AuctionHouseBotSeller.h.
|
private |
Definition at line 140 of file AuctionHouseBotSeller.h.