InventorySlots
From WoW Classic Wiki
More actions
This is a "the way it looks right now" copy. Blizzard seems to suggest that these numbers can change at any time. An AddOn should not use fixed numbers at all; they should use the GetInventorySlotInfo() to translates slot names to numbers. Macros can of course do this too, but doing so a lot might cause them to become longer than 255 characters. And, besides, it's easy to change your own macros.
Inventory Slots
Used for commands such as UseInventoryItem and PickupInventoryItem.
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:
Template loop detected: API TYPE InventorySlotID/Slots