![]() |
TrinityCore
|
#include <BlackMarketMgr.h>
Public Member Functions | |
| void | Update (time_t newTimeOfUpdate) |
| void | Initialize (int32 marketId, uint32 duration) |
| BlackMarketTemplate const * | GetTemplate () const |
| int32 | GetMarketId () const |
| uint64 | GetCurrentBid () const |
| void | SetCurrentBid (uint64 bid) |
| int32 | GetNumBids () const |
| void | SetNumBids (int32 numBids) |
| ObjectGuid::LowType | GetBidder () const |
| void | SetBidder (ObjectGuid::LowType bidder) |
| uint32 | GetSecondsRemaining () const |
| time_t | GetExpirationTime () const |
| bool | IsCompleted () const |
| void | DeleteFromDB (CharacterDatabaseTransaction trans) const |
| void | SaveToDB (CharacterDatabaseTransaction trans) const |
| bool | LoadFromDB (Field *fields) |
| uint64 | GetMinIncrement () const |
| bool | ValidateBid (uint64 bid) const |
| void | PlaceBid (uint64 bid, Player *player, CharacterDatabaseTransaction trans) |
| std::string | BuildAuctionMailSubject (BMAHMailAuctionAnswers response) const |
| std::string | BuildAuctionMailBody () |
| void | MailSent () |
| bool | GetMailSent () const |
Private Attributes | |
| int32 | _marketId = 0 |
| uint64 | _currentBid = 0 |
| int32 | _numBids = 0 |
| ObjectGuid::LowType | _bidder = 0 |
| uint32 | _secondsRemaining = 0 |
| bool | _mailSent = false |
Definition at line 70 of file BlackMarketMgr.h.
| std::string BlackMarketEntry::BuildAuctionMailBody | ( | ) |
Definition at line 519 of file BlackMarketMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| std::string BlackMarketEntry::BuildAuctionMailSubject | ( | BMAHMailAuctionAnswers | response | ) | const |
Definition at line 512 of file BlackMarketMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void BlackMarketEntry::DeleteFromDB | ( | CharacterDatabaseTransaction | trans | ) | const |
Definition at line 463 of file BlackMarketMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
| time_t BlackMarketEntry::GetExpirationTime | ( | ) | const |
Definition at line 413 of file BlackMarketMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 87 of file BlackMarketMgr.h.
| uint32 BlackMarketEntry::GetSecondsRemaining | ( | ) | const |
Definition at line 408 of file BlackMarketMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| BlackMarketTemplate const * BlackMarketEntry::GetTemplate | ( | ) | const |
| bool BlackMarketEntry::IsCompleted | ( | ) | const |
Definition at line 418 of file BlackMarketMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool BlackMarketEntry::LoadFromDB | ( | Field * | fields | ) |
Definition at line 423 of file BlackMarketMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| void BlackMarketEntry::PlaceBid | ( | uint64 | bid, |
| Player * | player, | ||
| CharacterDatabaseTransaction | trans | ||
| ) |
Definition at line 484 of file BlackMarketMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void BlackMarketEntry::SaveToDB | ( | CharacterDatabaseTransaction | trans | ) | const |
Definition at line 450 of file BlackMarketMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 91 of file BlackMarketMgr.h.
|
inline |
Definition at line 85 of file BlackMarketMgr.h.
|
inline |
Definition at line 88 of file BlackMarketMgr.h.
| void BlackMarketEntry::Update | ( | time_t | newTimeOfUpdate | ) |
| bool BlackMarketEntry::ValidateBid | ( | uint64 | bid | ) | const |
Definition at line 470 of file BlackMarketMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 115 of file BlackMarketMgr.h.
|
private |
Definition at line 113 of file BlackMarketMgr.h.
|
private |
Definition at line 117 of file BlackMarketMgr.h.
|
private |
Definition at line 112 of file BlackMarketMgr.h.
|
private |
Definition at line 114 of file BlackMarketMgr.h.
|
private |
Definition at line 116 of file BlackMarketMgr.h.