#include "Common.h"
#include "DatabaseEnv.h"
#include "DBCStructure.h"
#include "ObjectGuid.h"
#include "AuctionHousePackets.h"
#include <set>
Go to the source code of this file.
|
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 | AuctionAction { AUCTION_SELL_ITEM = 0,
AUCTION_CANCEL = 1,
AUCTION_PLACE_BID = 2
} |
|
enum | MailAuctionAnswers {
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 MAX_AUCTION_ITEMS 160 |
#define MIN_AUCTION_TIME (12*HOUR) |
Enumerator |
---|
AUCTION_SELL_ITEM |
|
AUCTION_CANCEL |
|
AUCTION_PLACE_BID |
|
Definition: AuctionHouseMgr.h:51
Definition: AuctionHouseMgr.h:53
Definition: AuctionHouseMgr.h:52
Enumerator |
---|
ERR_AUCTION_OK |
|
ERR_AUCTION_INVENTORY |
|
ERR_AUCTION_DATABASE_ERROR |
|
ERR_AUCTION_NOT_ENOUGHT_MONEY |
|
ERR_AUCTION_ITEM_NOT_FOUND |
|
ERR_AUCTION_HIGHER_BID |
|
ERR_AUCTION_BID_INCREMENT |
|
ERR_AUCTION_BID_OWN |
|
ERR_AUCTION_RESTRICTED_ACCOUNT |
|
Definition: AuctionHouseMgr.h:39
Definition: AuctionHouseMgr.h:42
Definition: AuctionHouseMgr.h:41
Definition: AuctionHouseMgr.h:46
Definition: AuctionHouseMgr.h:40
Definition: AuctionHouseMgr.h:44
Definition: AuctionHouseMgr.h:43
Definition: AuctionHouseMgr.h:38
Definition: AuctionHouseMgr.h:45
Enumerator |
---|
AUCTION_OUTBIDDED |
|
AUCTION_WON |
|
AUCTION_SUCCESSFUL |
|
AUCTION_EXPIRED |
|
AUCTION_CANCELLED_TO_BIDDER |
|
AUCTION_CANCELED |
|
AUCTION_SALE_PENDING |
|
Definition: AuctionHouseMgr.h:58
Definition: AuctionHouseMgr.h:61
Definition: AuctionHouseMgr.h:59
Definition: AuctionHouseMgr.h:62
Definition: AuctionHouseMgr.h:63
Definition: AuctionHouseMgr.h:60
Definition: AuctionHouseMgr.h:64