November 22, 2024, Friday, 326

InventorySlotId

From NeoWiki

Revision as of 09:02, 30 June 2007 by Neo (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

You may obtain the IDs either by calling GetInventorySlotInfo, ContainerIDToInventoryID, or from the table below.

  • Note that you should never use these values in AddOns, since they may change. Use GetInventorySlotInfo(invSlotName) to get the current mapping.   This list is only meant to be used as a reference for reverse mapping while debugging, or possibly for use in macros.


The current IDs for Inventory Slots are:

Regular inventory items

0 = ammo
1 = head
2 = neck
3 = shoulder
4 = shirt
5 = chest
6 = belt
7 = legs
8 = feet
9 = wrist
10 = gloves
11 = finger 1
12 = finger 2
13 = trinket 1
14 = trinket 2
15 = back
16 = main hand
17 = off hand
18 = ranged
19 = tabard
20 = first bag (the rightmost one)
21 = second bag
22 = third bag
23 = fourth bag (the leftmost one)

When bank frame is open

40 to 67 = the 28 bank slots
68 = first bank bag slot
69 = second bank bag slot
70 = third bank bag slot
71 = fourth bank bag slot
72 = fifth bank bag slot
73 = sixth bank bag slot
74 = seventh bank bag slot