TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
AuctionHouseMgr.h File Reference
#include "Common.h"
#include "DatabaseEnv.h"
#include "DBCStructure.h"
#include "ObjectGuid.h"
#include "AuctionHousePackets.h"
#include <set>
+ Include dependency graph for AuctionHouseMgr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AuctionEntry
 
class  AuctionHouseObject
 
class  AuctionHouseMgr
 

Macros

#define MIN_AUCTION_TIME   (12*HOUR)
 
#define MAX_AUCTION_ITEMS   160
 
#define sAuctionMgr   AuctionHouseMgr::instance()
 

Enumerations

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
}
 

Macro Definition Documentation

#define MAX_AUCTION_ITEMS   160
#define MIN_AUCTION_TIME   (12*HOUR)
#define sAuctionMgr   AuctionHouseMgr::instance()

Enumeration Type Documentation

Enumerator
AUCTION_SELL_ITEM 
AUCTION_CANCEL 
AUCTION_PLACE_BID 
50 {
52  AUCTION_CANCEL = 1,
54 };
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 
37 {
38  ERR_AUCTION_OK = 0,
47 };
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 
57 {
59  AUCTION_WON = 1,
61  AUCTION_EXPIRED = 3,
63  AUCTION_CANCELED = 5,
65 };
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