View Single Post
07-25-16, 11:32 PM   #1
Hiketeia
An Aku'mai Servant
 
Hiketeia's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2016
Posts: 33
How to handle the click of a 'link'

Probably really simple, pardon me please.

If a "link" (like an itemLink) is printed to the chat frame, when you click on it, it does something - for an item, it opens the tooltip, for pet, the modified one etc. - how do we trigger that something ourselves?

I'm using HandleModifiedItemClick() with an item button and I can ctrl-click it and it pops up in the dressing room. Doesn't seem to be a HandleItemClick() though? I assumed the "modified" was for the ctrl key?

Related to this, I'm trying to use the new "appearanceLink" from C_TransmogCollection and is it just me or when you click on those, does it not actually work right? I noticed it just regular in-game when looting epics the chat says such and such appear was added and if you click that it doesn't bring you to the correct appearance (just the section of the journal it seems?). If it is broken, I assume we have to wait for blizzard to fix that? But if we handle clicking the link like regular, it'll work when they do?

Thanks for your time.
  Reply With Quote