WoW:InventorySlotId: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
Line 4: Line 4:
You may obtain the IDs either by calling [[API GetInventorySlotInfo|GetInventorySlotInfo]], [[API ContainerIDToInventoryID|ContainerIDToInventoryID]], or from the table below.
You may obtain the IDs either by calling [[API GetInventorySlotInfo|GetInventorySlotInfo]], [[API ContainerIDToInventoryID|ContainerIDToInventoryID]], or from the table below.


* 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.   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.   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]]
[[Image:InventorySlots.jpg|thumb|Graphical Explanation]]

Revision as of 23:07, 10 December 2014

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