DB/AuctionHouse: Difference between revisions

From wowdev
Jump to navigation Jump to search
(New page: ==Header Info== Records.....................7 Fields.....................13 Record Size................52 String Block Size.........170 ==Structure== Column Field Type Notes 1...)
 
mNo edit summary
 
(17 intermediate revisions by 6 users not shown)
Line 1: Line 1:
==Header Info==
This one stores information about auction houses and their fees.
Records.....................7
Fields.....................13
Record Size................52
String Block Size.........170


==Structure==
==1.12.1.5875-3.0.2.8905-3.3.5.12340-6.0.1.18179==
Column Field Type Notes  
===Table===
  1 ID Integer
{| style="background:#FCFCFC; color:black"
  2 iRefID_Faction Integer Faction this AH belongs to  
|-
  3 Auction Fee Integer The AH's cut of your final earnings
! width="80" | Column  
  4 Desposit Tax Integer x% of sale price  
! width="180 " | Field  
  5 sRefName String Auction House Name  
! width="80" | Type  
*13 Localization String*
! width="600" | Notes
|-
|1 || ID || Integer ||
|- style="background:#F0F8FF;"
|2 || [[Faction.dbc|Faction]]  || iRefID  || Faction this AH belongs to.
|-
|3  || DepositRate || Integer || Used for deposit price calculation (minimum is always 1 silver).
|-
|4 || AuctionCut  || Integer || % of item's sell price cut from earnings.
|-
|5 || Name || [[Loc]]  || The name of the house.
|}


Retrieved from "http://www.sourcepeek.com/wiki/AuctionHouse.dbc"
===Struct===
struct AuctionHouseRec {
  uint32_t m_ID;
  {{Template:Type/foreign_key|table=Faction}} m_factionID;
  uint32_t m_depositRate;
  uint32_t m_consignmentRate;
  {{Template:Type|stringref}} m_name_lang;
};
 
[[Category:DBC]]
[[Category:DBC_Vanilla]]
[[Category:DBC_WotLK]][[Category:3.0.2.8905]][[Category:3.3.5.12340]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

Latest revision as of 21:56, 1 October 2017

This one stores information about auction houses and their fees.

1.12.1.5875-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 DepositRate Integer Used for deposit price calculation (minimum is always 1 silver).
4 AuctionCut Integer % of item's sell price cut from earnings.
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;
};