Recent changes Random page
GAMING
Gaming
 
StarCraft Wiki
Super Smash Wiki
Halopedia
Diablo Wiki
FFXIclopedia
Grand Theft Wiki
See more...

Talk:Post-hooking a function safely

From WoWWiki

Jump to: navigation, search

Is there a valid reason that this isn't using hooksecurefunc() in the "safe" method? It should operate precisely the same way, with the added note of not tainting code. Given that it talks about safely hooking **Blizzard** code, it would be logical that hooksecurefunc() would be the appropriate hook method to use, not creating your own hook directly.

If nobody has any objections, I'm going to adjust this page to reflect that. Shirik 17:02, 16 March 2007 (EDT)

hooksecurefunc() is not cheap, and should only be used when tainting is going to be an issue. Don't change what's already given in the page, but by all means add a section about safe and secucer hooking TeжubԎ Ҩ Ѡ 21:53, 16 March 2007 (EDT)