655 time_t curTime =
sWorld->GetGameTime();
670 if (itemClass != 0xffffffff && proto->
GetClass() != itemClass)
673 if (itemSubClass != 0xffffffff && proto->
GetSubClass() != itemSubClass)
679 if (quality != 0xffffffff && proto->
GetQuality() != quality)
685 if (usable != 0 && player->CanUseItem(item) !=
EQUIP_ERR_OK)
690 if (!wsearchedname.empty())
692 std::string name = proto->
GetName(player->GetSession()->GetSessionDbcLocale());
707 const char* suffix =
nullptr;
713 suffix = itemRandSuffix->
Name->
Str[player->GetSession()->GetSessionDbcLocale()];
719 suffix = itemRandProp->
Name->
Str[player->GetSession()->GetSessionDbcLocale()];
738 if (packet.
Items.size() < 50 && totalcount >= listfrom)
DB2Storage< ItemRandomSuffixEntry > sItemRandomSuffixStore("ItemRandomSuffix.db2", ItemRandomSuffixFormat, HOTFIX_SEL_ITEM_RANDOM_SUFFIX)
ObjectGuid::LowType itemGUIDLow
Definition: AuctionHouseMgr.h:71
Definition: AuctionHouseMgr.h:67
LocalizedString * Name
Definition: DB2Structure.h:776
uint32 GetClass() const
Definition: ItemTemplate.h:653
#define sWorld
Definition: World.h:887
int32 GetItemRandomPropertyId() const
Definition: Item.h:342
void BuildAuctionInfo(std::vector< WorldPackets::AuctionHouse::AuctionItem > &items, bool listAuctionItems) const
Definition: AuctionHouseMgr.cpp:746
InventoryType
Definition: ItemTemplate.h:330
std::vector< AuctionItem > Items
Definition: AuctionHousePackets.h:212
InventoryType GetInventoryType() const
Definition: ItemTemplate.h:664
LocalizedString * Name
Definition: DB2Structure.h:782
char const * Str[TOTAL_LOCALES]
Definition: Common.h:148
AuctionEntryMap AuctionsMap
Definition: AuctionHouseMgr.h:135
bool Utf8FitTo(const std::string &str, std::wstring const &search)
Definition: Util.cpp:453
int32_t int32
Definition: Define.h:146
char const * GetName(LocaleConstant locale) const
Definition: ItemTemplate.cpp:25
Definition: DB2Structure.h:779
time_t expire_time
Definition: AuctionHouseMgr.h:78
Definition: ItemTemplate.h:647
DB2Storage< ItemRandomPropertiesEntry > sItemRandomPropertiesStore("ItemRandomProperties.db2", ItemRandomPropertiesFormat, HOTFIX_SEL_ITEM_RANDOM_PROPERTIES)
uint32 GetSubClass() const
Definition: ItemTemplate.h:654
#define sAuctionMgr
Definition: AuctionHouseMgr.h:199
int32 GetBaseRequiredLevel() const
Definition: ItemTemplate.h:668
Definition: DB2Structure.h:771
ItemTemplate const * GetTemplate() const
Definition: Item.cpp:547
uint32 GetQuality() const
Definition: ItemTemplate.h:655