Thread Tools Display Modes
07-21-17, 04:38 AM   #1
Lombra
A Molten Giant
 
Lombra's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 554
"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)
__________________
Grab your sword and fight the Horde!
  Reply With Quote
07-21-17, 10:01 AM   #2
loff93
A Fallenroot Satyr
Join Date: Apr 2017
Posts: 25
Originally Posted by Lombra View Post
"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)
Thanks a lot - worked!
Edit:
Code:
if isCollected == false then
Shows all items (plate, cloth, leather ..), I read that someone said it would only show items you could actually unlock on that character which is false. Can't find any good methods/APIs so I'm wondering if anyone got suggestions on how to check if the item can actually can be unlocked by the character you are using?

Last edited by loff93 : 07-21-17 at 01:12 PM.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » isCollected issue

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off