DB/CurrencyTypes: Difference between revisions

From wowdev
Jump to navigation Jump to search
m (Flags b from companion app)
m (page layout)
 
Line 50: Line 50:
  };
  };


==ID==
==Flags==
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) - {{Template:Data/Item|id=20560|name=Alterac Valley Mark of Honor}}
*122 (15) - {{Template:Data/Item|id=20559|name=Arathi Basin Mark of Honor}}
*123 (16) - {{Template:Data/Item|id=29024|name=Eye of the Storm Mark of Honor}}
*124 (17) - {{Template:Data/Item|id=42425|name=Strand of the Ancients Mark of Honor}}
*125 (18) - {{Template:Data/Item|id=20558|name=Warsong Gulch Mark of Honor}}
*126 (19) - {{Template:Data/Item|id=43589|name=Wintergrasp Mark of Honor}}
10* are WotLK marks and basic PvP currencies.
*101 (10) - {{Template:Data/Item|id=40752|name=Emblem of Heroism}}
*102 (11) - {{Template:Data/Item|id=40753|name=Emblem of Valor}}
*103 (12) - {{Template:Data/Item|id=43307|name=Arena Points}}
*104 (13) - {{Template:Data/Item|id=43308|name=Honor Points}}
 
===Flags===
{| style="background:#FCFCFC; color:black"
{| style="background:#FCFCFC; color:black"
|-
|-
Line 138: Line 121:
|}
|}


===Flags B===
==Flags B==
{| style="background:#FCFCFC; color:black"
{| style="background:#FCFCFC; color:black"
|-
|-
Line 148: Line 131:
| 0x00000002 || CURRENCY_B_SHOW_QUEST_XP_GAIN_IN_TOOLTIP
| 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) - {{Template:Data/Item|id=20560|name=Alterac Valley Mark of Honor}}
*122 (15) - {{Template:Data/Item|id=20559|name=Arathi Basin Mark of Honor}}
*123 (16) - {{Template:Data/Item|id=29024|name=Eye of the Storm Mark of Honor}}
*124 (17) - {{Template:Data/Item|id=42425|name=Strand of the Ancients Mark of Honor}}
*125 (18) - {{Template:Data/Item|id=20558|name=Warsong Gulch Mark of Honor}}
*126 (19) - {{Template:Data/Item|id=43589|name=Wintergrasp Mark of Honor}}
10* are WotLK marks and basic PvP currencies.
*101 (10) - {{Template:Data/Item|id=40752|name=Emblem of Heroism}}
*102 (11) - {{Template:Data/Item|id=40753|name=Emblem of Valor}}
*103 (12) - {{Template:Data/Item|id=43307|name=Arena Points}}
*104 (13) - {{Template:Data/Item|id=43308|name=Honor Points}}


[[Category:DBC]]
[[Category:DBC]]
[[Category:3.0.2.8905]][[Category:DBC_WotLK]]
[[Category:3.0.2.8905]][[Category:DBC_WotLK]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

Latest revision as of 19:15, 25 November 2020

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

≥ Wrath

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.

10* are WotLK marks and basic PvP currencies.