WoW:InventorySlotId: Difference between revisions

m
Move page script moved page InventorySlotId to WoW:InventorySlotId without leaving a redirect
No edit summary
 
m (Move page script moved page InventorySlotId to WoW:InventorySlotId without leaving a redirect)
 
(8 intermediate revisions by 8 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>


[[Category:API Types|InventorySlotID]]
* 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.
 
[[Image:InventorySlots.jpg|thumb|Graphical Explanation]]
 
The current IDs for Inventory Slots are:
 
{{:API TYPE InventorySlotID/Slots}}
Anonymous user