DB/CurrencyCategory: Difference between revisions

From wowdev
Jump to navigation Jump to search
m (Marlamin moved page CurrencyCategory.dbc to DB/CurrencyCategory)
mNo edit summary
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The new currency-system has categories.
The new currency-system has categories.


{{Template:Sandbox/VersionRange|min_expansionlevel=3}}
==Structure==
==Structure==
{| style="background:#FCFCFC; color:black"
{| style="background:#FCFCFC; color:black"
Line 19: Line 20:
  struct CurrencyCategoryRec {
  struct CurrencyCategoryRec {
   uint32_t m_ID;
   uint32_t m_ID;
   uint32_t m_flags;
  enum {
   stringref m_name_lang;
    FLAG_less_important = 1,    // all with flag are sorted after others
    FLAG_is_unused_category = 2, // the "unused" category, last one with flag is used, should only be set once
    FLAG_hidden = 4,            // was probably added later on (present in 6.0.1)
  };
   uint32_t m_flags;  
   {{Template:Type|stringref}} m_name_lang;
  };
  };
[[Category:DBC]][[Category:DBC_WotLK]]
[[Category:DBC]][[Category:DBC_WotLK]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

Revision as of 19:21, 29 July 2016

The new currency-system has categories.

≥ Wrath

Structure

Column Field Type Notes
1 ID Integer
2 flags Integer
3-19 Name Loc

6.0.1.18179

struct CurrencyCategoryRec {
  uint32_t m_ID;
  enum {
    FLAG_less_important = 1,     // all with flag are sorted after others
    FLAG_is_unused_category = 2, // the "unused" category, last one with flag is used, should only be set once
    FLAG_hidden = 4,             // was probably added later on (present in 6.0.1)
  };
  uint32_t m_flags; 
  stringref m_name_lang;
};