WoW:API GetContainerItemInfo: Difference between revisions

updated for 4.0.3a
(updated for 4.0.3a)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}} __NOTOC__


  texture, itemCount, locked, quality, readable = GetContainerItemInfo(bagID, slot);
  texture, itemCount, locked, quality, readable, lootable, itemLink = GetContainerItemInfo(bagID, slot);


== Parameters ==
== Parameters ==
Line 15: Line 15:
:;quality : Number - the numeric quality of the item
:;quality : Number - the numeric quality of the item
:;readable : [[Boolean]] - 1 if the item can be "read" (as in a book)
:;readable : [[Boolean]] - 1 if the item can be "read" (as in a book)
:;lootable : [[Boolean]] - 1 if the item is a temporary container containing items that can be looted; otherwise nil.
:;[[itemLink]] : a hyperlink for the item.


== Example ==
== Example ==
Anonymous user