isCollected issue
Hey
First it seemed to work as I tested 2 items that I had and didn't, but when I tested with this item it's wrong. Am I actually using it correctly? Code:
local visualID = C_TransmogCollection.GetItemInfo(itemID) If you check the image below it will show that I have collected the item. Any idea why? http://imgur.com/a/b5T0q Also - what is really the difference between visualID and appearanceVisualID? |
"Visual" ID is the same as "appearance" ID is the same as "visual appearance" ID. It's a bit confusing how they use all these variants interchangibly. The appearance ID essentially refers to the item model and texture, while a source ID refers to a specific item.
You need the source ID: Code:
local visualID, sourceID = C_TransmogCollection.GetItemInfo(itemID) |
Quote:
Edit: Code:
if isCollected == false then |
Don't remember exactly, and I can't check now, but I think C_TransmogCollection.GetAppearanceSources(appearanceID) might return stuff only if it's included in your wardrobe.
|
Quote:
Edit: Nvm. Code:
local sources = C_TransmogCollection.GetAppearanceSources(appearanceID) |
All times are GMT -6. The time now is 05:51 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI