DB/CurrencyCategory: Difference between revisions
Jump to navigation
Jump to search
Chuanhsing (talk | contribs) No edit summary |
m (→Flags) |
||
(12 intermediate revisions by 6 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}} | ||
==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; | |||
{{Template:Type|stringref}} m_name_lang; | |||
}; | |||
===Flags=== | |||
{| style="background:#FCFCFC; color:black" | {| style="background:#FCFCFC; color:black" | ||
|- | |- | ||
! width="80" | | ! width="80" | Value | ||
! width=" | ! width="750" | Description | ||
! width=" | ! width="400" | EnumeratedString 248 | ||
|- | |||
|- | | 0x0001 || FLAG_SORT_LAST || Always sort to bottom | ||
| | |- | ||
|- | | 0x0002 || FLAG_PLAYER_ITEM_ASSIGNMENT || Only players assign to this category | ||
| | |- | ||
|- | | 0x0004 || HIDDEN || Hidden | ||
| | |- | ||
| 0x0008 || VIRTUAL || -- Does not exist - Warpten | |||
|} | |} | ||
[[Category:DBC]] | [[Category:DBC]][[Category:DBC_WotLK]] | ||
[[Category:DBC_WoD]][[Category:6.0.1.18179]] |
Latest revision as of 23:42, 26 June 2024
The new currency-system has categories.
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; };
Flags
Value | Description | EnumeratedString 248 |
---|---|---|
0x0001 | FLAG_SORT_LAST | Always sort to bottom |
0x0002 | FLAG_PLAYER_ITEM_ASSIGNMENT | Only players assign to this category |
0x0004 | HIDDEN | Hidden |
0x0008 | VIRTUAL | -- Does not exist - Warpten |