|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include "Common.h"#include "DatabaseEnv.h"#include "DBCStructure.h"#include "Platform/Singleton.h"Go to the source code of this file.
Classes | |
| struct | AuctionEntry |
| class | AuctionHouseMgr |
| class | AuctionHouseObject |
Macros | |
| #define | AUCTION_SEARCH_DELAY 300 |
| #define | MAX_AUCTION_ITEMS 32 |
| #define | MIN_AUCTION_TIME (12*HOUR) |
| #define | sAuctionMgr Skyfire::Singleton<AuctionHouseMgr, Skyfire::NullMutex>::instance() |
Enumerations | |
| enum | AuctionAction { AUCTION_SELL_ITEM = 0 , AUCTION_CANCEL = 1 , AUCTION_PLACE_BID = 2 } |
| enum | AuctionError { ERR_AUCTION_OK = 0 , ERR_AUCTION_INVENTORY = 1 , ERR_AUCTION_DATABASE_ERROR = 2 , ERR_AUCTION_NOT_ENOUGHT_MONEY = 3 , ERR_AUCTION_ITEM_NOT_FOUND = 4 , ERR_AUCTION_HIGHER_BID = 5 , ERR_AUCTION_BID_INCREMENT = 7 , ERR_AUCTION_BID_OWN = 10 , ERR_AUCTION_RESTRICTED_ACCOUNT = 13 } |
| enum class | MailAuctionAnswer { AUCTION_OUTBIDDED = 0 , AUCTION_WON = 1 , AUCTION_SUCCESSFUL = 2 , AUCTION_EXPIRED = 3 , AUCTION_CANCELLED_TO_BIDDER = 4 , AUCTION_CANCELED = 5 , AUCTION_SALE_PENDING = 6 } |
| #define AUCTION_SEARCH_DELAY 300 |
Definition at line 20 of file AuctionHouseMgr.h.
Referenced by WorldSession::HandleAuctionListBidderItems(), WorldSession::HandleAuctionListItems(), and WorldSession::HandleAuctionListOwnerItems().
| #define MAX_AUCTION_ITEMS 32 |
Definition at line 19 of file AuctionHouseMgr.h.
Referenced by WorldSession::HandleAuctionSellItem().
| #define MIN_AUCTION_TIME (12*HOUR) |
Definition at line 18 of file AuctionHouseMgr.h.
Referenced by WorldSession::HandleAuctionSellItem().
| #define sAuctionMgr Skyfire::Singleton<AuctionHouseMgr, Skyfire::NullMutex>::instance() |
Definition at line 179 of file AuctionHouseMgr.h.
Referenced by AuctionEntry::BuildAuctionInfo(), AuctionHouseObject::BuildListAuctionItems(), AuctionHouseMgr::DeleteExpiredAuctionsAtStartup(), WorldSession::HandleAuctionListBidderItems(), WorldSession::HandleAuctionListItems(), WorldSession::HandleAuctionListOwnerItems(), WorldSession::HandleAuctionPlaceBid(), WorldSession::HandleAuctionRemoveItem(), WorldSession::HandleAuctionSellItem(), reload_commandscript::HandleReloadAuctionsCommand(), AuctionEntry::LoadFromDB(), World::SetInitialWorldSettings(), AuctionHouseObject::Update(), and World::Update().
| enum AuctionAction |
| Enumerator | |
|---|---|
| AUCTION_SELL_ITEM | |
| AUCTION_CANCEL | |
| AUCTION_PLACE_BID | |
Definition at line 35 of file AuctionHouseMgr.h.
| enum AuctionError |
Definition at line 22 of file AuctionHouseMgr.h.
|
strong |
| Enumerator | |
|---|---|
| AUCTION_OUTBIDDED | |
| AUCTION_WON | |
| AUCTION_SUCCESSFUL | |
| AUCTION_EXPIRED | |
| AUCTION_CANCELLED_TO_BIDDER | |
| AUCTION_CANCELED | |
| AUCTION_SALE_PENDING | |
Definition at line 42 of file AuctionHouseMgr.h.