DB/Lock: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
Line 8: Line 8:
  Column Field Type Notes  
  Column Field Type Notes  
  1 ID Integer
  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]]  
  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]].  
  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.  
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
  18 Required_Skill[8] Integer Required skill needed for Lock_Properties
  26 Action[8] Integer Something to do with direction / opening / closing
  26 Action[8] Integer Something to do with direction / opening / closing

Revision as of 15:19, 7 February 2010

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"