diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-11-03 20:53:10 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-11-03 20:53:10 +0100 |
commit | 5b278a4ca79dd8aa19cde3892d92ae857d6f1dd4 (patch) | |
tree | 4cea51d22ae514576c60a01f759b8db00b185c7c /src/server/game/AuctionHouse/AuctionHouseMgr.h | |
parent | 8ff8dfd6207561f66b9c30cf0153f400d4a11ba9 (diff) |
Core/AuctionHouse: Updated AuctionHouseFilterMask and implemented current expansion filter
Diffstat (limited to 'src/server/game/AuctionHouse/AuctionHouseMgr.h')
-rw-r--r-- | src/server/game/AuctionHouse/AuctionHouseMgr.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/server/game/AuctionHouse/AuctionHouseMgr.h b/src/server/game/AuctionHouse/AuctionHouseMgr.h index 1ac82af2e4d..2d84fa3f5e8 100644 --- a/src/server/game/AuctionHouse/AuctionHouseMgr.h +++ b/src/server/game/AuctionHouse/AuctionHouseMgr.h @@ -97,19 +97,20 @@ constexpr std::size_t MAX_FAVORITE_AUCTIONS = 100; enum class AuctionHouseFilterMask : uint32 { - None = 0x0, - UncollectedOnly = 0x1, - UsableOnly = 0x2, - UpgradesOnly = 0x4, - ExactMatch = 0x8, - PoorQuality = 0x10, - CommonQuality = 0x20, - UncommonQuality = 0x40, - RareQuality = 0x80, - EpicQuality = 0x100, - LegendaryQuality = 0x200, - ArtifactQuality = 0x400, - LegendaryCraftedItemOnly = 0x800, + None = 0x0000, + UncollectedOnly = 0x0002, + UsableOnly = 0x0004, + CurrentExpansionOnly = 0x0008, + UpgradesOnly = 0x0010, + ExactMatch = 0x0020, + PoorQuality = 0x0040, + CommonQuality = 0x0080, + UncommonQuality = 0x0100, + RareQuality = 0x0200, + EpicQuality = 0x0400, + LegendaryQuality = 0x0800, + ArtifactQuality = 0x1000, + LegendaryCraftedItemOnly = 0x2000, }; DEFINE_ENUM_FLAG(AuctionHouseFilterMask); |