mirror of
https://github.com/NathanHandley/mod-ah-bot-plus.git
synced 2026-01-23 05:36:25 +00:00
Change crafted item filter to have more control
Also enable mounts and pets by default
This commit is contained in:
@@ -148,6 +148,9 @@ private:
|
||||
std::string AHCharactersGUIDsForQuery;
|
||||
uint32 ItemsPerCycle;
|
||||
bool DisabledItemTextFilter;
|
||||
bool DisabledRecipeProducedItemFilterEnabled;
|
||||
std::unordered_set<uint32> ItemIDsProducedByRecipes;
|
||||
std::map<uint32, std::unordered_set<uint32>> DisabledRecipeProducedItemClassSubClasses;
|
||||
std::set<uint32> DisabledItems;
|
||||
bool ListedItemLevelRestrictedEnabled;
|
||||
bool ListedItemLevelRestrictedUseCraftedItemForCalculation;
|
||||
@@ -305,6 +308,8 @@ public:
|
||||
void CalculateItemValue(ItemTemplate const* itemProto, uint64& outBidPrice, uint64& outBuyoutPrice);
|
||||
float GetAdvancedPricingMultiplier(ItemTemplate const* itemProto);
|
||||
ItemTemplate const* GetProducedItemFromRecipe(ItemTemplate const* recipeItemTemplate);
|
||||
std::unordered_set<uint32> GetItemIDsProducedByRecipes();
|
||||
bool IsItemADisabledRecipeProducedClassSubclass(ItemTemplate const* itemTemplate);
|
||||
void PopulateItemCandidatesAndProportions();
|
||||
uint32 GetRandomItemIDForListing();
|
||||
void AddNewAuctions(std::vector<Player*> AHBPlayers, FactionSpecificAuctionHouseConfig* config);
|
||||
@@ -313,6 +318,8 @@ public:
|
||||
|
||||
template <typename ValueType>
|
||||
void AddItemValuePairsToItemIDMap(std::unordered_map<uint32, ValueType>& workingValueToItemIDMap, std::string valueToItemIDMap);
|
||||
void AddValuesToSetByKeyMap(std::map<uint32, std::unordered_set<uint32>>& workingSetByKeyMap, std::string valuesToKeyMapString,
|
||||
uint32 wildcardLowValue, uint32 wildcardHighValue);
|
||||
};
|
||||
|
||||
#define auctionbot AuctionHouseBot::instance()
|
||||
|
||||
Reference in New Issue
Block a user