DB/Lock: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
Line 16: Line 16:
  ''8 Type_7 NULL "''  
  ''8 Type_7 NULL "''  
  ''9 Type_8 NULL "''  
  ''9 Type_8 NULL "''  
  10 Lock_Properties_1 Integer If the corresponding Type_ field is 2 then this is an iRefID_LockType.  
  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.  
  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 "  
  11 Lock_Properties_2 Integer "  

Revision as of 14:31, 30 July 2007

Header Info

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

Structure

Column	Field 			Type 		Notes 
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 
3 	Type_2 			Integer 	" 
4 	Type_3 			Integer 	" 
5 	Type_4 			Integer 	" 
6 	Type_5 			Integer 	" 
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"