DB/AuctionHouse: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
This one stores information about auction houses and their fees.
This one stores information about auction houses and their fees.


==Wrath==
==3.0.2.8905-3.3.5.12340-6.0.1.18179==
===3.0.2.8905===
===Table===
====Table====
{| style="background:#FCFCFC; color:black"
|-  
! width="80" | Column
! width="180 " | Field
! width="80" | Type
! width="600" | Notes
|-
|1  || ID  || Integer  ||
|- style="background:#F0F8FF;"
|2  || [[Faction.dbc|Faction]]  || iRefID  || Faction this AH belongs to.
|-
|3 || AuctionFee  || Integer  || The AH's cut of your final earnings.
|-
|4  || DespositTax  || Integer  || x% of sale price
|-
|5 || Name  || [[Loc]]  || The name of the house.
|}
===3.3.5.12340===
====Table====
{| style="background:#FCFCFC; color:black"
{| style="background:#FCFCFC; color:black"
|-  
|-  
Line 41: Line 21:
|}
|}


==Warlords==
===Struct===
===6.0.1.18179===
====Struct====
  struct AuctionHouseRec {
  struct AuctionHouseRec {
   uint32_t m_ID;
   uint32_t m_ID;

Revision as of 13:50, 16 July 2016

This one stores information about auction houses and their fees.

3.0.2.8905-3.3.5.12340-6.0.1.18179

Table

Column Field Type Notes
1 ID Integer
2 Faction iRefID Faction this AH belongs to.
3 AuctionFee Integer The AH's cut of your final earnings.
4 DespositTax Integer x% of sale price
5 Name Loc The name of the house.

Struct

struct AuctionHouseRec {
  uint32_t m_ID;
  foreign_key<uint32_t, &FactionRec::m_ID> m_factionID;
  uint32_t m_depositRate;
  uint32_t m_consignmentRate;
  stringref m_name_lang;
};