From a72c0d223d41bcea12a320b0f6b021b0367aef43 Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 13 Feb 2009 19:50:20 -0600 Subject: [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 --- src/shared/Database/DBCStructure.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/shared/Database/DBCStructure.h') 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; -- cgit v1.2.3