WoW:API GetContainerItemInfo: Difference between revisions

m
inventory is equipped items not main bag
(Added three missing return fields that are used as of version 4216)
m (inventory is equipped items not main bag)
Line 24: Line 24:
  local texture,_ = GetContainerItemInfo(1,2);
  local texture,_ = GetContainerItemInfo(1,2);


''See also:'' [[API_GetInventorySlotInfo|GetInventorySlotInfo]] to get the same information from a player's inventory (a.k.a. backpack).
''See also:'' [[API_GetInventorySlotInfo|GetInventorySlotInfo]] to get the same information from a player's inventory (or equipped items).


----
----
Anonymous user