Thread Tools Display Modes
Prev Previous Post   Next Post Next
05/06/15, 01:23 AM   #1
Phinix
 
Phinix's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 186
Force a full inventory update...

Greetings fellow Moon coders!

I have recently found a need to perform a full refresh of the active inventory when performing a certain action. This is because I am adding icons to tracked recipes in the inventory and want to be able to dynamically update the appearance as you enable and disable tracking.

The in-game function to "Rescan Bag" does NOT work. It would need to work like switching tabs, which does cause the list to update properly.

I have tried several functions, PlayerInventory:RefreshAllInventorySlots(INVENTORY_BACKPACK) being the latest, but they seem to be private or otherwise do not work and throw errors.

Also, I would need this to be able to update the inventory list regardless of whether it is your backpack, the bank, guild bank, buyback, and preferable the guild stores, though that may be trickier.

Any help would be much appreciated!
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » Force a full inventory update...


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