DB/CurrencyCategory: Difference between revisions

From wowdev
Jump to navigation Jump to search
(New page: The new currency-system has categories. ==Structure== {| style="background:#FCFCFC; color:black" |- ! width="80" | Column ! width="180 " | Field ! width="80" | Type ! width="600" | No...)
 
mNo edit summary
(12 intermediate revisions by 6 users not shown)
Line 1: Line 1:
The new currency-system has categories.
The new currency-system has categories.


==Structure==
{{Template:Sandbox/VersionRange|min_expansionlevel=3}}
{| style="background:#FCFCFC; color:black"
 
|-
==unknown probably wotlk, 6.0.1.18179==
! width="80" | Column
struct CurrencyCategoryRec {
! width="180 " | Field
  uint32_t m_ID;
! width="80" | Type
  enum {
! width="600" | Notes
    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
|1  || ID  || Integer  ||
    FLAG_hidden = 4,            // was probably added later on (present in 6.0.1)
|-
  };
|2 || Unknown || Integer  || This may be a recursive call for grouping.
  uint32_t m_flags;
|-
  {{Template:Type|stringref}} m_name_lang;
|3  || Name  || [[Loc]] ||
  };
|}
[[Category:DBC]][[Category:DBC_WotLK]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

Revision as of 17:37, 1 January 2020

The new currency-system has categories.

≥ Wrath

unknown probably wotlk, 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;
};