View Single Post
01-02-17, 02:46 PM   #4
Lombra
A Molten Giant
 
Lombra's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 554
Originally Posted by JetstreamXT View Post
I DID see the dressing room bit, but I did not see the fact that you can save an outfit out of another character's transmog. However, the problem with saving an outfit in the dressing room is that if you don't have the items' appearances, those parts of the transmog will not be saved to your outfits.
I'm not sure we're on the same page still! If you click the inspect button normally you get the transmog in the dressing room, but if you control-right click that button, you should get them in MogIt preview. From there you can then save it as a wishlist set.

Originally Posted by JetstreamXT View Post
As for using the appropriate API's to get transmog information, it appears that both GetInventoryItemLink and GetInventoryItemID are busts, because they do not provide transmogrification information. Given this, it appears that I would need to resort to tooltip scanning for my addon to work. Given the limited number of API functions that can be used in response to INSPECT_READY (only Talent API and Inventory API functions, if I recall from WoWProgramming), I will not be able to use NotifyInspect(), and will instead have to open the inspect window in order for my addon to work.
There shouldn't be any need to open the inspect frame. The default UI just uses the same APIs that anyone can use. All the visual stuff is the result of the API, so to speak, not the other way around. Transmog API is very limited for inventory items, indeed, but they added one function in Legion that solved this particular issue; C_TransmogCollection.GetInspectSources.

Originally Posted by JetstreamXT View Post
Finally, I mainly saw the use of GetAppearanceSources from code for InspectorGadgetzan, and I am not really sure what it does. However, I have double checked my input using a simple print function in TinyPad, and it appears that the output that I listed is indeed correct for my input.
GetAppearanceSources should, given an appearance/visual ID (essentially an item model) return a list of sources (items that uses the model). The output you provided rather looks like it could be from GetAppearanceSourceInfo, in which case the values are as follows:
Code:
categoryID, appearanceVisualID, canEnchant, icon, isCollected, link

Originally Posted by JetstreamXT View Post
One other thing, I apologize for not getting in contact with you sooner. I wanted to obtain either you or Aelobin's blessing before getting too far into this project, as it does depend on your AddOn, MogIt, to function. I attempted to contact Aelobin via Curse, but I have not yet received a response. Given what you have seen so far, would you be all right if I continued work on this project?
Absolutely, and don't worry about it.
__________________
Grab your sword and fight the Horde!
  Reply With Quote