DB/CurrencyTypes
Jump to navigation
Jump to search
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; };
7.0.3.21384
struct CurrencyTypesRec { uint32_t m_ID; stringrefⁱ m_name_lang; stringrefⁱ m_inventoryIcon[2]; uint32_t m_maxQty; uint32_t m_maxEarnablePerWeek; uint32_t m_flags; stringrefⁱ m_description_lang; uint8_t m_categoryID; uint8_t m_spellWeight; uint8_t m_spellCategory; uint8_t m_quality; };
Flags
Value | Description |
---|---|
0x00000001 | CURRENCY_TRADABLE |
0x00000002 | CURRENCY_APPEARS_IN_LOOT_WINDOW |
0x00000004 | CURRENCY_COMPUTED_WEEKLY_MAXIMUM |
0x00000008 | CURRENCY_100_SCALER |
0x00000010 | CURRENCY_NO_LOW_LEVEL_DROP |
0x00000020 | CURRENCY_IGNORE_MAX_QTY_ON_LOAD |
0x00000040 | CURRENCY_LOG_ON_WORLD_CHANGE |
0x00000080 | CURRENCY_TRACK_QUANTITY |
0x00000100 | CURRENCY_RESET_TRACKED_QUANTITY |
0x00000200 | CURRENCY_UPDATE_VERSION_IGNORE_MAX |
0x00000400 | CURRENCY_SUPPRESS_CHAT_MESSAGE_ON_VERSION_CHANGE |
0x00000800 | CURRENCY_SINGLE_DROP_IN_LOOT |
0x00001000 | CURRENCY_HAS_WEEKLY_CATCHUP |
0x00002000 | CURRENCY_DO_NOT_COMPRESS_CHAT |
0x00004000 | CURRENCY_DO_NOT_LOG_ACQUISITION_TO_BI |
0x00008000 | CURRENCY_NO_RAID_DROP |
0x00010000 | CURRENCY_NOT_PERSISTENT |
0x00020000 | CURRENCY_DEPRECATED |
0x00040000 | CURRENCY_DYNAMIC_MAXIMUM |
0x00080000 | CURRENCY_SUPPRESS_CHAT_MESSAGES |
0x00100000 | CURRENCY_DO_NOT_TOAST |
0x00200000 | CURRENCY_DESTROY_EXTRA_ON_LOOT |
0x00400000 | CURRENCY_DONT_SHOW_TOTAL_IN_TOOLTIP |
0x00800000 | CURRENCY_DONT_COALESCE_IN_LOOT_WINDOW |
0x01000000 | CURRENCY_ACCOUNT_WIDE |
0x02000000 | CURRENCY_ALLOW_OVERFLOW_MAILER |
0x04000000 | CURRENCY_HIDE_AS_REWARD |
0x08000000 | CURRENCY_HAS_WARMODE_BONUS |
0x10000000 | CURRENCY_IS_ALLIANCE_ONLY |
0x20000000 | CURRENCY_IS_HORDE_ONLY |
0x40000000 | CURRENCY_LIMIT_WARMODE_BONUS_ONCE_PER_TOOLTIP |
0x80000000 | deprecated_currency_flag |
Flags B
Value | Description |
---|---|
0x00000001 | CURRENCY_B_USE_TOTAL_EARNED_FOR_MAX_QTY |
0x00000002 | CURRENCY_B_SHOW_QUEST_XP_GAIN_IN_TOOLTIP |
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