From b522a34247b1a5c30d918c2f0debca74b1ff4cf9 Mon Sep 17 00:00:00 2001 From: megamage Date: Sat, 21 Mar 2009 22:44:59 -0600 Subject: [7513] Implement currencies tab work. Also check related item data at server startup. Author: VladimirMangos --HG-- branch : trunk --- src/shared/Database/DBCStructure.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/shared/Database/DBCStructure.h') diff --git a/src/shared/Database/DBCStructure.h b/src/shared/Database/DBCStructure.h index 4cb57a165f2..bc44caa8127 100644 --- a/src/shared/Database/DBCStructure.h +++ b/src/shared/Database/DBCStructure.h @@ -700,6 +700,23 @@ struct CreatureTypeEntry //uint32 no_expirience; // 18 no exp? critters, non-combat pets, gas cloud. }; +/* not used +struct CurrencyCategoryEntry +{ + uint32 ID; // 0 + uint32 Unk1; // 1 0 for known categories and 3 for unknown one (3.0.9) + char* Name[16]; // 2-17 name + // // 18 string flags +}; +*/ + +struct CurrencyTypesEntry +{ + //uint32 ID; // 0 not used + uint32 ItemId; // 1 used as real index + uint32 BitIndex; // 2 bit index in PLAYER_FIELD_KNOWN_CURRENCIES (1 << (index-1)) +}; + struct DurabilityCostsEntry { uint32 Itemlvl; // 0 -- cgit v1.2.3