Thread Tools Display Modes
01/24/19, 03:30 AM   #1
kinnaj93
AddOn Author - Click to view addons
Join Date: Dec 2018
Posts: 5
Get the amount of an item, that is currently stocked in bank

Hello,

what I would like to retrieve is the following number, of the tooltip you get, when you hover over an item or similar stuff.



I have access to the item link and the slot of the item, but haven't found a proper method or attribute to do so on the api page yet. Does anyone know how I get to that info?

Thanks in advance

Jannik
  Reply With Quote
01/24/19, 05:11 AM   #2
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
* GetItemLinkStacks(*string* _itemLink_)
** _Returns:_ *integer* _stackCountBackpack_, *integer* _stackCountBank_, *integer* _stackCountCraftBag_
  Reply With Quote
01/24/19, 06:05 AM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,903
To find the function names of the API check the wiki at this link of the API versions please:
https://wiki.esoui.com/APIVersion

At the line API TXT Documentation you'll find the link to the appropriate API functions and globals txt file.
  Reply With Quote
01/24/19, 09:03 AM   #4
kinnaj93
AddOn Author - Click to view addons
Join Date: Dec 2018
Posts: 5
Hey,

thank you.

The function "GetItemLinkStacks" is working fine for me.

Kinnaj
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » Get the amount of an item, that is currently stocked in bank

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