DB/TalentTab: Difference between revisions

From wowdev
Jump to navigation Jump to search
(New page: This file contains the tabs of the talents, which can be seen when opening the talents window in WoW. ==Header Info == Records....................27 Fields.....................15 Reco...)
 
 
(23 intermediate revisions by 9 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==
==Header Info ==
  struct TalentTabRec {
  Records....................27
  uint32_t m_ID;
Fields.....................15
  {{Template:Type|langstringref}} name;
Record Size................60
  uint32_t spell_icon;
  String Block Size.........640
  uint32_t race_mask;
 
  uint32_t class_mask;
  uint32_t order_index;
  {{Template:Type|stringref}} background_file;
  };
==Structure==
==Structure==
  '''Column Field Type Notes'''  
  '''Column Field Type Notes'''  
  1 ID Integer
  1 ID Integer
  2 sRefName String
  2-18 name String + [[Loc]]
3-10 Localization String*
  19 [[SpellIcon.dbc|SpellIcon]] Integer
  11 iRefID_[[SpellIcon.dbc|SpellIcon]] Integer
  20 [[ChrRaces.dbc|Races]] BitMask Only for characters.
  12 Unknown BitMask A BitMask that correlates to the number of rows per tab + 2 bits (rows). 511 (9 rows) pre BC, and 2047 (11 rows) post BC.  
21 [[ChrClasses.dbc|Classes]] BitMask Only for characters.
  13 sRefMask_[[ChrClasses.dbc|ChrClasses]] BitMask
  22 [[CreatureFamily.dbc|CreatureFamily]].categoryEnumID BitMask Only for hunter pets.
  14 tab_number Integer
  23 orderIndex Integer (TalentFrameBase.lua:MAX_TALENT_TABS = 5;)
  15 sRefCon String
  24 backgroundFile String (they're located in Interface\TALENTFRAME )


Retrieved from "http://www.sourcepeek.com/wiki/TalentTab.dbc"
[[Category:DBC]]
[[Category:DBC_Vanilla]]
[[Category:DBC_WotLK]]

Latest revision as of 06:45, 15 May 2022

Vanilla … Cata

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 )