38{
41 return true;
42
44 if (!creature)
45 return true;
46
48
53
54
55 std::wstring wsearchedname;
57 return true;
58
60
66
67 if (result)
68 {
69 data.put<
uint32>(0, count);
70 data << (
uint32) totalcount;
73 }
74
75 return true;
76}
bool Utf8toWStr(char const *utf8str, std::size_t csize, wchar_t *wstr, std::size_t &wsize)
Definition: Util.cpp:281
void wstrToLower(std::wstring &str)
Definition: Util.cpp:382
std::chrono::milliseconds Milliseconds
Milliseconds shorthand typedef.
Definition: Duration.h:27
std::uint32_t uint32
Definition: Define.h:107
#define sAuctionMgr
Definition: AuctionHouseMgr.h:227
@ CONFIG_AUCTION_HOUSE_SEARCH_TIMEOUT
Definition: IWorld.h:424
@ UNIT_NPC_FLAG_AUCTIONEER
Definition: UnitDefines.h:315
@ MAX_INSPECTED_ENCHANTMENT_SLOT
Definition: Item.h:176
@ SMSG_AUCTION_LIST_RESULT
Definition: Opcodes.h:634
#define sWorld
Definition: World.h:444
Player * FindPlayer(ObjectGuid const guid)
Definition: ObjectAccessor.cpp:248
Definition: AuctionHouseMgr.h:130
bool BuildListAuctionItems(WorldPacket &data, Player *player, std::wstring const &searchedname, uint32 listfrom, uint8 levelmin, uint8 levelmax, uint8 usable, uint32 inventoryType, uint32 itemClass, uint32 itemSubClass, uint32 quality, uint32 &count, uint32 &totalcount, uint8 getAll, AuctionSortOrderVector const &sortOrder, Milliseconds searchTimeout)
Definition: AuctionHouseMgr.cpp:733
Definition: Creature.h:46
bool IsInWorld() const
Definition: Object.h:104
Definition: Player.h:1064
WorldSession * GetSession() const
Definition: Player.h:1978
Creature * GetNPCIfCanInteractWith(ObjectGuid guid, uint32 npcflagmask)
Definition: Player.cpp:2075
bool IsBeingTeleported() const
Definition: Player.h:2070
uint32 GetFaction() const
Definition: Unit.h:755
bool IsDuringRemoveFromWorld() const
Definition: Unit.h:1712
Definition: WorldPacket.h:27
void SendPacket(WorldPacket const *packet)
Send a packet to the client.
Definition: WorldSession.cpp:214