I am looking for a way to get the bag
slotId from ZO_QuickslotRadialManager in order to access the right item.
When more than one level of the same Item is present in BAG_BACKPACK, this
slotId would make the difference in the following code:
Code:
function get_slotId_itemLevel(slotId)
local data = SHARED_INVENTORY.bagCache[BAG_BACKPACK][slotId]
if( data == nil) then return nil end
return data.requiredLevel
end
From where I stand, I could not find a way to get this slotId from ZO_QuickslotRadialManager.
These are the functions I know of:
Code:
GetCurrentQuickslot()
GetItemName (BAG_BACKPACK, slotId) (the BAG_BACKPACK index)
GetSlotItemCount ( slotIndex ) (the quick slot bar index)
GetSlotName ( slotIndex ) (the quick slot bar index)
GetSlotTexture ( slotIndex ) (the quick slot bar index)