API:GetBagItemCount

__NOTOC__
GetBagItemCount
GetBagItemCount(ItemId)
Counts the current amount of items, given by an item id, in the bag.
== Parameters ==
=== Arguments ===
:;ItemId
::number - A valid ItemId.
=== Returns ===
:;number
::number - The amount of items, refered by given ItemId, currently in the bag.
== Example ==
-- Count the amount of Tin Ore
countTin = GetBagItemCount(200232);
-- Count the amount of Zinc Ore
countZinc = GetBagItemCount(200230);
== Notes ==
*Searches Item Shop Bag, Transmuter slots, hidden Transmuter slots, and all Bags
*Item Id can be found here.
== Related Functions ==
* GetCountInBagByName
* GetBagItemLink