Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-15-19, 09:03 AM   #1
bsmorgan
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 219
Serious bug in _classic_ GetItemCount

Am I going nuts?

count = GetItemCount(itemID or "itemName" or "itemLink"[, includeBank][, includeCharges])

includeBank
Boolean - true: count includes bank items

In _retail_, GetItemCount("itemName") gives number in inventory, GetItemCount("itemName",true) gives number in both, and GetItemCount("itemName",false) gives number in inventory.

In _classic_ it should work the same way, correct?

In _classic_ GetItemCount("itemName"), GetItemCount("itemName",true) and GetItemCount("itemName",false) all return the number of items that are in both. This is a bug, correct?

Is there an API call in _classic_ that I don't know about that gives just the count in your bags?
  Reply With Quote
 

WoWInterface » Classic - AddOns, Compliations, Macros » Classic - AddOn Help/Support » Serious bug in _classic_ GetItemCount

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off