So i'm just diving in to the whole Mixin stuff and am not sure if this is possible.
As GetDetailedItemLevelInfo() is still not returning the correct value all the time, i stumbled upon this thread which worked wonders for me.
local function getItemlvl(unit, slotIndex)
if slotIndex == 18 then
slotIndex = 19
if unit and UnitExists(unit) then
local item = Item:CreateFromEquipmentSlot(slotIndex)
if item then
This will return the correct values on the PaperdollFrame, however i'm now hitting a wall to understand how i can do the exact same thing for the InspectFrame.
As CreateFromEquipmentSlot will only take the slotIndex, it somewhere hast to point to the player's inventory. If i could replicate that and point to the inspected unit's inventory this would open the door to the solution.
Is this even possible somewhow with using this/a Mixin?
EDIT: also using the CreateFromItemLink Mixin doesn't show the correct itemLevel else this wouldn't be an issue.
You can see it's just calling GetDetailedItemLevelInfo with an item link. So item links *do* work, you just need the right one. The link encodes a bunch of info in addition to the item id and I would guess that it needs that. Looking at the definition of an itemstring, (http://wowwiki.wikia.com/wiki/ItemString) "linkLevel" might be the important bit.