DB/CurrencyCategory: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 21: | Line 21: | ||
uint32_t m_ID; | uint32_t m_ID; | ||
enum { | 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_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) | FLAG_hidden = 4, // was probably added later on (present in 6.0.1) |
Revision as of 19:21, 29 July 2016
The new currency-system has categories.
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; };