AzerothCore
Pages :

auctionhouse

<-Back-to:Characters

The `auctionhouse` table

Contains all information about the currently ongoing auctions in the auction houses. It controls what items are put up for auction and who put it up, who is the highest bidder, etc.

Structure

Field Type Attributes Key Null Default Extra Comment
id INT UNSIGNED PRI NO 0
houseid INT UNSIGNED NO 0
itemguid INT UNSIGNED UNI NO 0
itemowner INT UNSIGNED NO 0
buyoutprice INT UNSIGNED NO 0
time INT UNSIGNED NO 0
buyguid INT UNSIGNED NO 0
lastbid INT UNSIGNED NO 0
startbid INT UNSIGNED NO 0
deposit INT UNSIGNED NO 0

Description of the fields

id

Unique identifier for every auction.

houseid

The GUID of the creature where the auction item was added. See creature.guid.

itemguid

The GUID of the item that is up for auction. See item_instance.guid.

itemowner

The GUID of the owner of the item up for auction. See characters.guid.

buyoutprice

The buyout price of the item in copper. Divide by 100 to get silver and by 100 again to get gold.

time

The time when the auction will end, measured in Unix time (number of seconds from 00:00 Jan 1, 1970).

buyguid

The GUID of the highest bidder. See characters.guid.

lastbid

The amount of copper of the last bid put on the item.

startbid

The amount of copper of the starting bid.

deposit

The amount of copper spent on the deposit.