View Single Post
09-12-10, 09:29 PM   #17
Iriel
Super Moderator
WoWInterface Super Mod
Featured
Join Date: Jun 2005
Posts: 578
Originally Posted by Vladinator View Post
Would it be too much to ask for a function to hook API (within reason) and alter behavior before it actually runs the arguments trough the function?
You can do that now, but you can't do it with any functions that the secure part of WoW uses because such a thing would cause massive taint. That's the reason why the existing hooksecurefunc does not allow you to change the result of the function - because if it did you'd either taint the UI, or be able to subvert the protections against automation.