Initial commit

This commit is contained in:
2024-12-16 13:13:08 +01:00
commit c8d4f32d5d
3093 changed files with 18304 additions and 0 deletions

7
api/hooksecurefunc.lua Normal file
View File

@@ -0,0 +1,7 @@
---@diagnostic disable: missing-return, lowercase-global
---@param table table
---@param function string
---@param hookfunc function
---Add a function to be called after execution of a secure function. Allows one to "post-hook" a secure function without tainting the original. The original function will still be called, but the function supplied will be called after the original, with the same arguments. Return values from the supplied function are discarded. Note that there is no API to remove a hook from a function: any hooks applied will remain in place until the UI is reloaded. Only allows hooking of functions named by a global variable; to hook a script handler on a Frame object, see Frame:HookScript().
function hooksecurefunc(table, function, hookfunc) end