WoW:InventorySlotId: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (catfix, Replaced: {{wowapitype}} → {{wowapitype}}<br>)
(Added an image (Graphical layout with numbers))
Line 5: Line 5:
* 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.
* 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:
The current IDs for Inventory Slots are:


{{:API TYPE InventorySlotID/Slots}}
{{:API TYPE InventorySlotID/Slots}}

Revision as of 06:29, 10 April 2009

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