Lore archive · Warcraft Wiki, 2023 dump
API GetContainerItemInfo
Last wiki revision 2022-08-01
Returns info for an item in a container slot. icon, itemCount, locked, quality, readable, lootable, itemLink, isFiltered, noValue, itemID, isBound = GetContainerItemInfo(bagID, slot)
- bagID: - BagID of the bag the item is in, e.g. 0 for your backpack.
- slot: - index of the slot inside the bag to look up.
- 1. texture: - The icon texture (FileID) for the item in the specified bag slot.
- 2. itemCount: - The number of items in the specified bag slot.
- 3. locked: - True if the item is locked by the server, false otherwise.
- 4. quality: - The Quality of the item.
- 5. readable: - True if the item can be "read" (as in a book), false otherwise.
- 6. lootable: - True if the item is a temporary container containing items that can be looted, false otherwise.
- 7. itemLink: - The itemLink of the item in the specified bag slot.
- 8. isFiltered: - True if the item is grayed-out during the current inventory search, false otherwise.
- 9. noValue: - True if the item has no gold value, false otherwise.
- 10. itemID: - The unique ID for the item in the specified bag slot.
- 11. isBound: - True if the item is bound to the current character, false otherwise.
Source
https://warcraft.wiki.gg/wiki/API_GetContainerItemInfo · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.