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:
local bagCache = SHARED_INVENTORY:GenerateFullSlotData(nil, BAG_BACKPACK)
for slotIndex, itemData in pairs(bagCache) do
if itemData.itemType == ITEMTYPE_TROPHY then
d(itemData.itemID)
end
end