![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "AuctionHouseSearcher.h"
Public Member Functions | |
void | BuildAuctionInfo (WorldPacket &data) const |
void | SetItemNames () |
int | CompareAuctionEntry (uint32 column, SearchableAuctionEntry const &auc, int loc_idx) const |
Public Attributes | |
uint32 | Id |
ObjectGuid | ownerGuid |
std::string | ownerName |
uint32 | buyout |
time_t | expire_time |
uint32 | startbid |
uint32 | bid |
ObjectGuid | bidderGuid |
AuctionHouseFaction | listFaction |
SearchableAuctionEntryItem | item |
void SearchableAuctionEntry::BuildAuctionInfo | ( | WorldPacket & | data | ) | const |
References bid, bidderGuid, buyout, AuctionEntry::CalculateAuctionOutBid(), AuctionEntryItemEnchants::charges, SearchableAuctionEntryItem::count, AuctionEntryItemEnchants::duration, SearchableAuctionEntryItem::enchants, SearchableAuctionEntryItem::entry, expire_time, GameTime::GetGameTime(), AuctionEntryItemEnchants::id, Id, IN_MILLISECONDS, item, MAX_INSPECTED_ENCHANTMENT_SLOT, ownerGuid, SearchableAuctionEntryItem::randomPropertyId, SearchableAuctionEntryItem::spellCharges, startbid, and SearchableAuctionEntryItem::suffixFactor.
int SearchableAuctionEntry::CompareAuctionEntry | ( | uint32 | column, |
SearchableAuctionEntry const & | auc, | ||
int | loc_idx | ||
) | const |
References AUCTION_SORT_BID, AUCTION_SORT_BUYOUT, AUCTION_SORT_BUYOUT_2, AUCTION_SORT_ITEM, AUCTION_SORT_MINBIDBUY, AUCTION_SORT_MINLEVEL, AUCTION_SORT_OWNER, AUCTION_SORT_RARITY, AUCTION_SORT_STACK, AUCTION_SORT_TIMELEFT, AUCTION_SORT_UNK4, bid, bidderGuid, buyout, SearchableAuctionEntryItem::count, expire_time, ObjectGuid::GetCounter(), item, SearchableAuctionEntryItem::itemName, SearchableAuctionEntryItem::itemTemplate, ownerName, ItemTemplate::Quality, ItemTemplate::RequiredLevel, and startbid.
Referenced by AuctionSorter::operator()().
void SearchableAuctionEntry::SetItemNames | ( | ) |
References ObjectMgr::GetLocaleString(), item, ItemTemplate::ItemId, SearchableAuctionEntryItem::itemName, SearchableAuctionEntryItem::itemTemplate, LOCALE_enUS, ItemLocale::Name, ItemRandomPropertiesEntry::Name, ItemRandomSuffixEntry::Name, ItemTemplate::Name1, SearchableAuctionEntryItem::randomPropertyId, sItemRandomPropertiesStore, sItemRandomSuffixStore, sObjectMgr, sWorld, TOTAL_LOCALES, Utf8toWStr(), and wstrToLower().
uint32 SearchableAuctionEntry::bid |
Referenced by BuildAuctionInfo(), and CompareAuctionEntry().
ObjectGuid SearchableAuctionEntry::bidderGuid |
Referenced by BuildAuctionInfo(), and CompareAuctionEntry().
uint32 SearchableAuctionEntry::buyout |
Referenced by BuildAuctionInfo(), and CompareAuctionEntry().
time_t SearchableAuctionEntry::expire_time |
Referenced by BuildAuctionInfo(), and CompareAuctionEntry().
uint32 SearchableAuctionEntry::Id |
Referenced by BuildAuctionInfo().
SearchableAuctionEntryItem SearchableAuctionEntry::item |
Referenced by BuildAuctionInfo(), CompareAuctionEntry(), and SetItemNames().
AuctionHouseFaction SearchableAuctionEntry::listFaction |
ObjectGuid SearchableAuctionEntry::ownerGuid |
Referenced by BuildAuctionInfo().
std::string SearchableAuctionEntry::ownerName |
Referenced by CompareAuctionEntry().
uint32 SearchableAuctionEntry::startbid |
Referenced by BuildAuctionInfo(), and CompareAuctionEntry().