DB/CurrencyTypes: Difference between revisions
Jump to navigation
Jump to search
m (Added Category WotLK) |
(add full and correct info for 6.0.1.18179) |
||
Line 17: | Line 17: | ||
|4 || bitIndex || Integer || These are getting shifted and used as bitmasks for "currencyTokensBackpack" resulting in a maximum of 32 * 2 types. | |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 { | |||
int m_ID; | |||
int m_categoryID; | |||
stringref m_name_lang; | |||
stringref m_inventoryIcon[2]; | |||
int m_spellWeight; | |||
int m_spellCategory; | |||
int m_maxQty; | |||
int m_maxEarnablePerWeek; | |||
int m_flags; | |||
int m_quality; | |||
stringref m_description_lang; | |||
}; | |||
==ID== | ==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. | 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. |
Revision as of 02:59, 11 July 2014
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 { int m_ID; int m_categoryID; stringref m_name_lang; stringref m_inventoryIcon[2]; int m_spellWeight; int m_spellCategory; int m_maxQty; int m_maxEarnablePerWeek; int m_flags; int 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.
- 121 (14) - Alterac Valley Mark of Honor
- 122 (15) - Arathi Basin Mark of Honor
- 123 (16) - Eye of the Storm Mark of Honor
- 124 (17) - Strand of the Ancients Mark of Honor
- 125 (18) - Warsong Gulch Mark of Honor
- 126 (19) - Wintergrasp Mark of Honor
10* are WotLK marks and basic PvP currencies.
- 101 (10) - Emblem of Heroism
- 102 (11) - Emblem of Valor
- 103 (12) - Arena Points
- 104 (13) - Honor Points