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 ==
Item Id can be found here.
== Related Functions ==
* GetBagItemLink