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) |
m (Move page script moved page InventorySlotId to InventorySlotId without leaving a redirect) |
||
(5 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{stub/API}} | |||
{{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. | ||
[[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}} |
Latest revision as of 04:48, 15 August 2023
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: