aboutsummaryrefslogtreecommitdiff
path: root/src/shared/Database/DBCStructure.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-13 19:50:20 -0600
committermegamage <none@none>2009-02-13 19:50:20 -0600
commita72c0d223d41bcea12a320b0f6b021b0367aef43 (patch)
tree8b1b4d71a39fe28d8a4dda8b42292d4f2ea5a94a /src/shared/Database/DBCStructure.h
parent468132696af25b8192320635970f53cc447297e7 (diff)
[7266] Use DBC data for auction cut/deposit percents and location (auiction house id in fact).
More auction related code refactoring, Move auction related code from ObjectMgr to AuctionHouseMgr. Author: VladimirMangos --HG-- branch : trunk
Diffstat (limited to 'src/shared/Database/DBCStructure.h')
-rw-r--r--src/shared/Database/DBCStructure.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/shared/Database/DBCStructure.h b/src/shared/Database/DBCStructure.h
index d041f8fa3b2..ea14a587d8e 100644
--- a/src/shared/Database/DBCStructure.h
+++ b/src/shared/Database/DBCStructure.h
@@ -514,6 +514,16 @@ struct AreaTriggerEntry
float box_orientation; // 9 m_box_yaw
};
+struct AuctionHouseEntry
+{
+ uint32 houseId; // 0 index
+ uint32 faction; // 1 id of faction.dbc for player factions associated with city
+ uint32 depositPercent; // 2 1/3 from real
+ uint32 cutPercent; // 3
+ //char* name[16]; // 4-19
+ // 20 string flag, unused
+};
+
struct BankBagSlotPricesEntry
{
uint32 ID;