DB/TotemCategory: Difference between revisions

From wowdev
Jump to navigation Jump to search
(New page: ==Header Info== Records....................19 Fields.....................12 Record Size................48 String Block Size.........316 ==Structure== '''Column Field Type Notes'...)
 
No edit summary
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
==Header Info==
Records....................19
Fields.....................12
Record Size................48
String Block Size.........316


{{Template:Sandbox/VersionRange|min_expansionlevel=2}}
==Structure==
==Structure==
  '''Column Field Type Notes'''  
  '''Column Field Type Notes'''  
  1 ID Integer
  1 ID Integer
  2 sRefName String Includes all kinds of component things.. not just totems  
  2-18 sRefName String + [[Loc]] Includes all kinds of component things.. not just totems  
  3-10 Localization String
  19 Category Integer Which category the tool belongs to (1 = totems, 3 = enchanting rods etc)  
11 Category Integer Which category the tool belongs to (1 = totems, 3 = enchanting rods etc)  
  20 CategoryBits BitMask Which tools in the category the tool can be used as. For instance for totems:  
  12 CategoryBits BitMask Which tools in the category the tool can be used as. For instance for totems:  


bit 0 = earth, bit 1 = air, bit 2 = fire, bit 3 = water.  
*bit 0 = earth
*bit 1 = air
*bit 2 = fire  
*bit 3 = water
*"Master Totem" has the bitmask 1111b, meaning it can be used instead of all four normal totems.  


"Master Totem" has the bitmask 1111b, meaning it can be used instead of all four normal totems.  
==6.0.1.18179==
 
struct TotemCategoryRec {
Retrieved from "http://www.sourcepeek.com/wiki/TotemCategory.dbc"
  uint32_t m_ID;
  {{Template:Type|stringref}} m_name_lang;
  uint32_t m_totemCategoryType;
  uint32_t m_totemCategoryMask;
};
[[Category:DBC]]
[[Category:DBC_WotLK]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

Latest revision as of 02:40, 20 July 2016

≥ BC

Structure

Column	Field 		Type 		Notes 
1 	ID 		Integer 	
2-18 	sRefName 	String + Loc	Includes all kinds of component things.. not just totems 
19 	Category 	Integer 	Which category the tool belongs to (1 = totems, 3 = enchanting rods etc) 
20 	CategoryBits 	BitMask 	Which tools in the category the tool can be used as. For instance for totems: 
  • bit 0 = earth
  • bit 1 = air
  • bit 2 = fire
  • bit 3 = water
  • "Master Totem" has the bitmask 1111b, meaning it can be used instead of all four normal totems.

6.0.1.18179

struct TotemCategoryRec {
  uint32_t m_ID;
  stringref m_name_lang;
  uint32_t m_totemCategoryType;
  uint32_t m_totemCategoryMask;
};