Thread Tools Display Modes
Prev Previous Post   Next Post Next
02/10/18, 10:37 AM   #1
manavortex
 
manavortex's Avatar
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 138
[notabug] GetItemTotalCount returns 0 for BAG_VIRTUAL

Lua Code:
  1. local itemCount
  2.  
  3. _, _, itemCount = GetItemTotalCount(BAG_VIRTUAL, slotIndex)
  4. -- itemCount is now 0
  5.  
  6. _, itemCount = GetItemInfo(BAG_VIRTUAL, slotIndex)
  7. -- itemCount is now valid

Last edited by manavortex : 02/12/18 at 03:41 PM. Reason: My brain is fucked up
 
 

ESOUI » Developer Discussions » Bug Reports » [notabug] GetItemTotalCount returns 0 for BAG_VIRTUAL

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