eqcompare: compare basic stats on items

This commit is contained in:
BenDol
2018-07-07 04:36:12 +02:00
committed by shagu
parent 54a849fca8
commit 90647f9e46
3 changed files with 93 additions and 2 deletions
+10
View File
@@ -310,6 +310,16 @@ function pfUI.api.hooksecurefunc(name, func, append)
_G[name] = pfUI.hooks[tostring(func)]["function"]
end
function pfUI.api.HookScript(f, script, func)
local prev = f:GetScript(script)
f:SetScript(script, function(...)
if prev then prev() end
func()
end)
end
-- [ QueueFunction ]
-- Add functions to a FIFO queue for execution after a short delay.
-- '...' [vararg] function, [arguments]