DB/Lock: Difference between revisions

From wowdev
Jump to navigation Jump to search
Line 8: Line 8:
  Column Field Type Notes  
  Column Field Type Notes  
  1 ID Integer
  1 ID Integer
  2 Type_1 Integer If this is 1, then the next lock_properties is an item ID, if it's 2, then it's an iRef to [[LockTypes.dbc]]  
  2 Type[8] Integer If this is 1, then the next lock_properties is an item ID, if it's 2, then it's an iRef to [[LockTypes.dbc]]  
  3 Type_2 Integer "
  10 Lock_Properties[8] Integer If the corresponding Type field is 2 then this is an iRefID_[[LockTypes.dbc]].  
4 Type_3 Integer "
  If the corresponding Type field value is 1 then this is the itemID of the key or item that 'unlocks' this item.  
5 Type_4 Integer "
  18 Required_Skill[8] Integer Required skill needed for Lock_Properties
6 Type_5 Integer "
  26 Action[8] Integer Something to do with direction / opening / closing
''7 Type_6 NULL "''
''8 Type_7 NULL "''
''9 Type_8 NULL "''
10 Lock_Properties_1 Integer If the corresponding Type_ field is 2 then this is an iRefID_[[LockTypes.dbc]].  
  If the corresponding Type_ field value is 1 then this is the itemID of the key or item that 'unlocks' this item.  
11 Lock_Properties_2 Integer "
12 Lock_Properties_3 Integer "
13 Lock_Properties_4 Integer "
14 Lock_Properties_5 Integer "
''15 Lock_Properties_6 NULL "''
''16 Lock_Properties_7 NULL "''
''17 Lock_Properties_8 NULL "''
  18 Required_Skill_1 Integer Required skill needed for Lock_Properties_1
19 Required_Skill_2 Integer "
20 Required_Skill_3 Integer "
21 Required_Skill_4 Integer "
22 Required_Skill_5 Integer "
''23 Required_Skill_6 NULL "''
''24 Required_Skill_7 NULL "''
''25 Required_Skill_8 NULL "''
  26 Unknown_1 Integer Theory: Something to do with direction / opening / closing?
27 Unknown_2 Integer
28 Unknown_3 Integer
29 Unknown_4 Integer
30 Unknown_5 Integer
''31 Unknown_6 NULL ''
''32 Unknown_7 NULL ''
''33 Unknown_8 NULL''


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


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

Revision as of 21:59, 14 June 2009

Header Info

Records...................298
Fields.....................33
Record Size...............132
String Block Size...........1

Structure

Column	Field 			Type 		Notes 
1 	ID 			Integer 	
2 	Type[8] 			Integer 	If this is 1, then the next lock_properties is an item ID, if it's 2, then it's an iRef to LockTypes.dbc 
10 	Lock_Properties[8] 	Integer 	If the corresponding Type field is 2 then this is an iRefID_LockTypes.dbc. 
		If the corresponding Type field value is 1 then this is the itemID of the key or item that 'unlocks' this item. 
18 	Required_Skill[8] 	Integer 	Required skill needed for Lock_Properties
26 	Action[8] 		Integer 	Something to do with direction / opening / closing

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