WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   Shift-click for recipe? (https://www.wowinterface.com/forums/showthread.php?t=51848)

bsmorgan 02-05-15 11:57 AM

Shift-click for recipe?
 
I've just been made aware that when the Blizzard tradeskill frame is open, shift-click on an item in your inventory craftable by that skill brings up the recipe for that item. Close the Blizzard tradeskill frame, and shift-click on the same item brings up the split stack frame.

Where do I find the code that implements this behavior? I'm not sure where to start looking.

Phanx 02-05-15 12:39 PM

I'd start with the OnClick script for bag items:
http://www.townlong-yak.com/framexml...erFrame.xml#65

SDPhantom 02-05-15 12:46 PM

It's a series of function calls, but ultimately, it's handled by ChatEdit_InsertLink().


Here's what the call stack should look like:(Note: All except the last reference the line number for the next call.
The last is the function definition itself.)

bsmorgan 02-06-15 10:38 AM

Quote:

Originally Posted by SDPhantom (Post 306115)
It's a series of function calls, but ultimately, it's handled by ChatEdit_InsertLink().

Thanks for the help. I've added a hook to Skillet (that currently does nothing) and I'll see if I can implement something useful.


All times are GMT -6. The time now is 10:31 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI