WoW:InventorySlotId: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page InventorySlotId to InventorySlotId without leaving a redirect)
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
You may obtain the IDs either by calling [[API GetInventorySlotInfo|GetInventorySlotInfo]] or from the table below.
{{stub/API}}
{{wowapitype}}


The IDs for Inventory Slots are:
You may obtain the IDs either by calling [[API GetInventorySlotInfo|GetInventorySlotInfo]], [[API ContainerIDToInventoryID|ContainerIDToInventoryID]], or from the table below.
<br>
0 = ammo<br>
1 = head<br>
2 = neck<br>
3 = shoulder<br>
4 = shirt<br>
5 = chest<br>
6 = belt<br>
7 = legs<br>
8 = feet<br>
9 = wrist<br>
10 = gloves<br>
11 = finger 1<br>
12 = finger 2<br>
13 = trinket 1<br>
14 = trinket 2<br>
15 = back<br>
16 = main hand<br>
17 = off hand<br>
18 = ranged<br>
19 = tabard<br>
20 = first bag (the most at right)<br>
21 = second bag<br>
22 = third bag<br>
23 = fourth bag (the most at left)<br>


'''THEN WHEN THE BANK FRAME IS OPENED :'''<br>
* Note that you should never use these values in AddOns, since they may change. Use [[API GetInventorySlotInfo|GetInventorySlotInfo]] ([[API TYPE InventorySlotName|invSlotName]]) to get the current mapping. &nbsp; This list is only meant to be used as a reference for reverse mapping while debugging, or possibly for use in [[macro]]s.
40 to 63 = the 24 bank slots<br>
64 = first bank bag<br>
65 = second bank bag<br>
66 = third bank bag<br>
67 = fourth bank bag<br>
68 = fifth bank bag<br>
69 = sixth bank bag<br>


----
[[Image:InventorySlots.jpg|thumb|Graphical Explanation]]
{{WoW API}}
 
The current IDs for Inventory Slots are:
 
{{:API TYPE InventorySlotID/Slots}}

Latest revision as of 04:48, 15 August 2023

API types

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.
File:InventorySlots.jpg
Graphical Explanation

The current IDs for Inventory Slots are:

API TYPE InventorySlotID/Slots