![]() |
TrinityCore
|
#include <AuctionHouseMgr.h>
Public Member Functions | |
| uint8 | GetHouseId () const |
| uint32 | GetAuctionCut () const |
| uint32 | GetAuctionOutBid () const |
| the sum of outbid is (1% from current bid)*5, if bid is very small, it is 1c | |
| bool | BuildAuctionInfo (WorldPacket &data, Item *sourceItem=nullptr) const |
| void | DeleteFromDB (CharacterDatabaseTransaction trans) const |
| void | SaveToDB (CharacterDatabaseTransaction trans) const |
| bool | LoadFromDB (Field *fields) |
| std::string | BuildAuctionMailSubject (MailAuctionAnswers response) const |
Static Public Member Functions | |
| static std::string | BuildAuctionWonMailBody (ObjectGuid guid, uint32 bid, uint32 buyout) |
| static std::string | BuildAuctionSoldMailBody (ObjectGuid guid, uint32 bid, uint32 buyout, uint32 deposit, uint32 consignment) |
| static std::string | BuildAuctionInvoiceMailBody (ObjectGuid guid, uint32 bid, uint32 buyout, uint32 deposit, uint32 consignment, uint32 moneyDelay, uint32 eta) |
Public Attributes | |
| uint32 | Id |
| uint8 | houseId |
| ObjectGuid::LowType | itemGUIDLow |
| uint32 | itemEntry |
| uint32 | itemCount |
| ObjectGuid::LowType | owner |
| uint32 | startbid |
| uint32 | bid |
| uint32 | buyout |
| time_t | expire_time |
| ObjectGuid::LowType | bidder |
| uint32 | deposit |
| uint32 | etime |
| std::unordered_set< ObjectGuid > | bidders |
| AuctionHouseEntry const * | auctionHouseEntry |
| AuctionEntryFlag | Flags |
Definition at line 81 of file AuctionHouseMgr.h.
| bool AuctionEntry::BuildAuctionInfo | ( | WorldPacket & | data, |
| Item * | sourceItem = nullptr |
||
| ) | const |
Definition at line 841 of file AuctionHouseMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 967 of file AuctionHouseMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| std::string AuctionEntry::BuildAuctionMailSubject | ( | MailAuctionAnswers | response | ) | const |
Definition at line 951 of file AuctionHouseMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 962 of file AuctionHouseMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 957 of file AuctionHouseMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void AuctionEntry::DeleteFromDB | ( | CharacterDatabaseTransaction | trans | ) | const |
Definition at line 888 of file AuctionHouseMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| uint32 AuctionEntry::GetAuctionCut | ( | ) | const |
Definition at line 875 of file AuctionHouseMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| uint32 AuctionEntry::GetAuctionOutBid | ( | ) | const |
the sum of outbid is (1% from current bid)*5, if bid is very small, it is 1c
Definition at line 882 of file AuctionHouseMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| bool AuctionEntry::LoadFromDB | ( | Field * | fields | ) |
Definition at line 918 of file AuctionHouseMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void AuctionEntry::SaveToDB | ( | CharacterDatabaseTransaction | trans | ) | const |
Definition at line 901 of file AuctionHouseMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| AuctionHouseEntry const* AuctionEntry::auctionHouseEntry |
Definition at line 97 of file AuctionHouseMgr.h.
| uint32 AuctionEntry::bid |
Definition at line 90 of file AuctionHouseMgr.h.
| ObjectGuid::LowType AuctionEntry::bidder |
Definition at line 93 of file AuctionHouseMgr.h.
| std::unordered_set<ObjectGuid> AuctionEntry::bidders |
Definition at line 96 of file AuctionHouseMgr.h.
| uint32 AuctionEntry::buyout |
Definition at line 91 of file AuctionHouseMgr.h.
| uint32 AuctionEntry::deposit |
Definition at line 94 of file AuctionHouseMgr.h.
| uint32 AuctionEntry::etime |
Definition at line 95 of file AuctionHouseMgr.h.
| time_t AuctionEntry::expire_time |
Definition at line 92 of file AuctionHouseMgr.h.
| AuctionEntryFlag AuctionEntry::Flags |
Definition at line 98 of file AuctionHouseMgr.h.
| uint8 AuctionEntry::houseId |
Definition at line 84 of file AuctionHouseMgr.h.
| uint32 AuctionEntry::Id |
Definition at line 83 of file AuctionHouseMgr.h.
| uint32 AuctionEntry::itemCount |
Definition at line 87 of file AuctionHouseMgr.h.
| uint32 AuctionEntry::itemEntry |
Definition at line 86 of file AuctionHouseMgr.h.
| ObjectGuid::LowType AuctionEntry::itemGUIDLow |
Definition at line 85 of file AuctionHouseMgr.h.
| ObjectGuid::LowType AuctionEntry::owner |
Definition at line 88 of file AuctionHouseMgr.h.
| uint32 AuctionEntry::startbid |
Definition at line 89 of file AuctionHouseMgr.h.