DB/CurrencyTypes: Difference between revisions

From wowdev
Jump to navigation Jump to search
m (Marlamin moved page CurrencyTypes.dbc to DB/CurrencyTypes)
mNo edit summary
Line 36: Line 36:
===Example===
===Example===
12* are Marks of Honor.
12* are Marks of Honor.
*121 (14) - [http://www.wowhead.com/?item=20560 Alterac Valley Mark of Honor]
*121 (14) - {{Template:Data/Item|id=20560|name=Alterac Valley Mark of Honor}}
*122 (15) - [http://www.wowhead.com/?item=20559 Arathi Basin Mark of Honor]
*122 (15) - {{Template:Data/Item|id=20559|name=Arathi Basin Mark of Honor}}
*123 (16) - [http://www.wowhead.com/?item=29024 Eye of the Storm Mark of Honor]
*123 (16) - {{Template:Data/Item|id=29024|name=Eye of the Storm Mark of Honor}}
*124 (17) - [http://www.wowhead.com/?item=42425 Strand of the Ancients Mark of Honor]
*124 (17) - {{Template:Data/Item|id=42425|name=Strand of the Ancients Mark of Honor}}
*125 (18) - [http://www.wowhead.com/?item=20558 Warsong Gulch Mark of Honor]
*125 (18) - {{Template:Data/Item|id=20558|name=Warsong Gulch Mark of Honor}}
*126 (19) - [http://www.wowhead.com/?item=43589 Wintergrasp Mark of Honor]
*126 (19) - {{Template:Data/Item|id=43589|name=Wintergrasp Mark of Honor}}
10* are WotLK marks and basic PvP currencies.
10* are WotLK marks and basic PvP currencies.
*101 (10) - [http://www.wowhead.com/?item=40752 Emblem of Heroism]
*101 (10) - {{Template:Data/Item|id=40752|name=Emblem of Heroism}}
*102 (11) - [http://www.wowhead.com/?item=40753 Emblem of Valor]
*102 (11) - {{Template:Data/Item|id=40753|name=Emblem of Valor}}
*103 (12) - [http://www.wowhead.com/?item=43307 Arena Points]
*103 (12) - {{Template:Data/Item|id=43307|name=Arena Points}}
*104 (13) - [http://www.wowhead.com/?item=43308 Honor Points]
*104 (13) - {{Template:Data/Item|id=43308|name=Honor Points}}





Revision as of 00:32, 22 February 2016

This file lists currencies that are now listed out of the inventory but on a tab in the character frame.

Structure

Column Field Type Notes
1 ID Integer They include some kind of groups too. See below. Real id in column 4.
2 Item iRefID The itemd displayed.
3 Category iRefID Yes, there are non-existant categories in here.
4 bitIndex Integer These are getting shifted and used as bitmasks for "currencyTokensBackpack" resulting in a maximum of 32 * 2 types.

6.0.1.18179

struct CurrencyTypesRec {
  uint32_t m_ID;
  uint32_t m_categoryID;
  stringref m_name_lang;
  stringref m_inventoryIcon[2];
  uint32_t m_spellWeight;
  uint32_t m_spellCategory;
  uint32_t m_maxQty;
  uint32_t m_maxEarnablePerWeek;
  uint32_t m_flags;
  uint32_t m_quality;
  stringref m_description_lang;
};

ID

The id is always seperatable into three digits. The least significant is some kind of real id for that category. The other two define the category. They always increase in steps of 20.

Example

12* are Marks of Honor.

10* are WotLK marks and basic PvP currencies.