API GetContainerItemInfo

Returns information about an item in a container slot. icon, itemCount, locked, quality, readable, lootable, itemLink, isFiltered, noValue, itemID = GetContainerItemInfo(bagID, slot)

Arguments

 * bagID : Number (bagID) - number of the bag the item is in, e.g. 0 for your backpack.
 * slot : Number - index of the slot inside the bag to look up.

Returns

 * 1. texture: Number (fileID) - The icon texture for the item in the specified bag slot.
 * 2. itemCount: Number - The number of items in the specified bag slot.
 * 3. locked: Boolean - True if the item is locked by the server, false otherwise.
 * 4. quality: Number - The Quality of the item.
 * 5. readable: Boolean - True if the item can be "read" (as in a book), false otherwise.
 * 6. lootable: Boolean - True if the item is a temporary container containing items that can be looted, false otherwise.
 * 7. itemLink: String - The itemLink of the item in the specified bag slot.
 * 8. isFiltered: Boolean - True if the item is grayed-out during the current inventory search, false otherwise.
 * 9. noValue: Boolean - True if the item has no gold value, false otherwise.
 * 10. itemID: Number - The unique ID for the item in the specified bag slot.