WoW:InventorySlotId: Difference between revisions
Jump to navigation
Jump to search
(Move slot list to API TYPE InventorySlotID/Slots so it can be pulled into e.g. InventorySlots) |
(Added link to ContainerIDToInventoryID) |
||
Line 1: | Line 1: | ||
{{wowapitype}} | {{wowapitype}} | ||
You may obtain the IDs either by calling [[API GetInventorySlotInfo|GetInventorySlotInfo]] 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. |
Revision as of 07:14, 13 July 2006
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: