Skip to content

Lock.dbc ​

📝 Structure on wowdev.wiki ​

 

❌ denotes unused fields

Structure ​

IndexFieldTypeReference
0IDuint32
1Type_0uint32
2Type_1uint32
3Type_2uint32
4Type_3uint32
5Type_4uint32
6Type_5uint32
7Type_6uint32
8Type_7uint32
9Index_0uint32
10Index_1uint32
11Index_2uint32
12Index_3uint32
13Index_4uint32
14Index_5uint32
15Index_6uint32
16Index_7uint32
17Skill_0uint32
18Skill_1uint32
19Skill_2uint32
20Skill_3uint32
21Skill_4uint32
22Skill_5uint32
23Skill_6uint32
24Skill_7uint32
25Action_0uint32
26Action_1uint32
27Action_2uint32
28Action_3uint32
29Action_4uint32
30Action_5uint32
31Action_6uint32
32Action_7uint32
 

Description of fields ​

ID ​

Col: 0 (uint32)

- no description -  

Type ​

Col: 1 – 8 (uint32)

enum LockKeyType

IDName
0LOCK_KEY_NONE
1LOCK_KEY_ITEM
2LOCK_KEY_SKILL
3LOCK_KEY_SPELL

 

Index ​

Col: 9 – 16 (uint32)

Dependant on Type:

TypeNameIndex
1LOCK_KEY_ITEMitem entry
2LOCK_KEY_SKILLLockType ID
3LOCK_KEY_SPELLSpell ID

 

Skill ​

Col: 17 – 24 (uint32)

Only for Type LOCK_KEY_SKILL (2): The required skill amount.  

Action ​

❌ Col: 25 – 32 (uint32)

IDComment
0Open
1Open-Unlock
2Close
3Destroy
4Rebuild