DB/TalentTab: Difference between revisions
Jump to navigation
Jump to search
m (→Structure) |
|||
(12 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:Sandbox/VersionRange|min_expansionlevel=1|max_expansionlevel=4}} | |||
This file contains the tabs of the talents, which can be seen when opening the talents window in WoW. | This file contains the tabs of the talents, which can be seen when opening the talents window in WoW. | ||
==1.12.1.5875== | |||
== | struct TalentTabRec { | ||
uint32_t m_ID; | |||
{{Template:Type|langstringref}} name; | |||
uint32_t spell_icon; | |||
uint32_t race_mask; | |||
uint32_t class_mask; | |||
uint32_t order_index; | |||
{{Template:Type|stringref}} background_file; | |||
}; | |||
==Structure== | ==Structure== | ||
'''Column Field | '''Column Field Type Notes''' | ||
1 ID | 1 ID Integer | ||
2- | 2-18 name String + [[Loc]] | ||
19 [[SpellIcon.dbc|SpellIcon]] Integer | |||
19 | 20 [[ChrRaces.dbc|Races]] BitMask Only for characters. | ||
20 | 21 [[ChrClasses.dbc|Classes]] BitMask Only for characters. | ||
21 | 22 [[CreatureFamily.dbc|CreatureFamily]].categoryEnumID BitMask Only for hunter pets. | ||
22 | 23 orderIndex Integer (TalentFrameBase.lua:MAX_TALENT_TABS = 5;) | ||
23 | 24 backgroundFile String (they're located in Interface\TALENTFRAME ) | ||
[[Category:DBC]] | [[Category:DBC]] | ||
[[Category:DBC_Vanilla]] | |||
[[Category:DBC_WotLK]] |
Latest revision as of 06:45, 15 May 2022
This file contains the tabs of the talents, which can be seen when opening the talents window in WoW.
1.12.1.5875
struct TalentTabRec { uint32_t m_ID; langstringrefⁱ name; uint32_t spell_icon; uint32_t race_mask; uint32_t class_mask; uint32_t order_index; stringrefⁱ background_file; };
Structure
Column Field Type Notes 1 ID Integer 2-18 name String + Loc 19 SpellIcon Integer 20 Races BitMask Only for characters. 21 Classes BitMask Only for characters. 22 CreatureFamily.categoryEnumID BitMask Only for hunter pets. 23 orderIndex Integer (TalentFrameBase.lua:MAX_TALENT_TABS = 5;) 24 backgroundFile String (they're located in Interface\TALENTFRAME )