DB/ItemClass: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Barncastle (talk | contribs) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
==0.5.3.3368== | ==0.5.3.3368, 1.12.1.5875== | ||
struct ItemClassRec { | struct ItemClassRec { | ||
uint32_t m_classID; | uint32_t m_classID; | ||
Line 5: | Line 5: | ||
uint32_t m_flags; // & 1: record is weapon related <code>InitWeaponSubclasses() -> LocateWeaponSubclass()</code> | uint32_t m_flags; // & 1: record is weapon related <code>InitWeaponSubclasses() -> LocateWeaponSubclass()</code> | ||
{{Template:Type|langstringref}} m_className_lang; | {{Template:Type|langstringref}} m_className_lang; | ||
}; | }; | ||
Line 13: | Line 12: | ||
2 Subclass? Integer pointing back to an other ID ;) | 2 Subclass? Integer pointing back to an other ID ;) | ||
3 isWeapon? Boolean Only set on id=2 (name="Weapon", subclass=2) | 3 isWeapon? Boolean Only set on id=2 (name="Weapon", subclass=2) | ||
4-20 Name | 4-20 Name [[Loc]] | ||
==6.0.1.18179== | ==6.0.1.18179== | ||
Line 23: | Line 22: | ||
}; | }; | ||
[[Category:DBC]] | [[Category:DBC]] | ||
[[Category:DBC_Alpha]] | |||
[[Category:DBC_Vanilla]] | |||
[[Category:DBC_WotLK]] | [[Category:DBC_WotLK]] | ||
[[Category:DBC_WoD]][[Category:6.0.1.18179]] | [[Category:DBC_WoD]][[Category:6.0.1.18179]] |
Revision as of 13:48, 3 October 2017
0.5.3.3368, 1.12.1.5875
struct ItemClassRec {
uint32_t m_classID;
uint32_t m_subclassMapID;
uint32_t m_flags; // & 1: record is weapon related InitWeaponSubclasses() -> LocateWeaponSubclass()
langstringrefⁱ m_className_lang;
};
Structure
Column Field Type Notes 1 ID Integer 2 Subclass? Integer pointing back to an other ID ;) 3 isWeapon? Boolean Only set on id=2 (name="Weapon", subclass=2) 4-20 Name Loc
6.0.1.18179
struct ItemClassRec { uint32_t m_classID; uint32_t m_flags; float m_priceModifier; langstringrefⁱ m_className_lang; };