DB/TotemCategory: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
(+ Loc)
Line 8: Line 8:
  '''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-10 sRefName String + [[Loc]] Includes all kinds of component things.. not just totems  
3-10 Localization String
  11 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)  
  12 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
"Master Totem" has the bitmask 1111b, meaning it can be used instead of all four normal totems.  
*bit 2 = fire  
*bit 3 = water
*"Master Totem" has the bitmask 1111b, meaning it can be used instead of all four normal totems.  


Retrieved from "http://www.sourcepeek.com/wiki/TotemCategory.dbc"
Retrieved from "http://www.sourcepeek.com/wiki/TotemCategory.dbc"


[[Category:DBC]]
[[Category:DBC]]

Revision as of 09:57, 13 August 2007

Header Info

Records....................19
Fields.....................12
Record Size................48
String Block Size.........316

Structure

Column	Field 		Type 		Notes 
1 	ID 		Integer 	
2-10 	sRefName 	String + Loc	Includes all kinds of component things.. not just totems 
11 	Category 	Integer 	Which category the tool belongs to (1 = totems, 3 = enchanting rods etc) 
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
  • "Master Totem" has the bitmask 1111b, meaning it can be used instead of all four normal totems.

Retrieved from "http://www.sourcepeek.com/wiki/TotemCategory.dbc"