Thread Tools Display Modes
Prev Previous Post   Next Post Next
03/15/16, 02:27 PM   #1
CrazyDutchGuy
 
CrazyDutchGuy's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 89
GenerateFullSlotData for russian language setting

SHARED_INVENTORY:GenerateFullSlotData(nil, BAG_BACKPACK) behaves stranges with clients that are not en, de or fr.

If i retrieve the data and loop over the itemID's i get valid values for en, de en fr language settings. If i change from en to ru I also get valid itemID's. However if i change from de or fr to ru then i get NIL itemID's.

Is there something wrong in this utility ?
Lua Code:
  1. local bagCache = SHARED_INVENTORY:GenerateFullSlotData(nil, BAG_BACKPACK)
  2.             for slotIndex, itemData in pairs(bagCache) do
  3.                 if itemData.itemType == ITEMTYPE_TROPHY then
  4.                                       d(itemData.itemID)
  5.                                 end
  6.                         end
  Reply With Quote
 

ESOUI » Developer Discussions » Tutorials & Other Helpful Info » GenerateFullSlotData for russian language setting


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