After looking at what you are trying to don't I think that function won't be much help but I found some that are. If you use the following function you can get the appliedSourceID.
local baseSourceID, baseVisualID, appliedSourceID, appliedVisualID, pendingSourceID, pendingVisualID, hasPendingUndo = C_Transmog.GetSlotVisualInfo(1, LE_TRANSMOG_TYPE_APPEARANCE)
And then you can use it with the C_TransmogCollection.GetSourceInfo(sourceID) function to get the infomation about that item.
Here are some example results.
C_Transmog.GetSlotVisualInfo(1,0)
baseSourceID: 77510
baseVisualID: 27544
appliedSourceID: 86281
appliedVisualID: 33368
pendingSourceID: 0
pendingVisualID: 0
hasPendingUndo: false
C_TransmogCollection.GetSourceInfo(86281)
[1]={
sourceType=1,
invType=2,
visualID=33368,
isCollected=true,
sourceID=86281,
isHideVisual=false,
itemID=147165,
itemModID=1,
categoryID=1,
name="Hood of Blind Absolution",
quality=4
}
__________________
Thomas aka Urnn
Last edited by thomasjohnshannon : 04-09-18 at 07:42 AM.
Reason: Better advice.
|