remove ScheduleTimerFixed

This commit is contained in:
Bunny67
2020-09-06 11:34:33 +03:00
parent 5560d0e24c
commit ec78a9b17f
4 changed files with 34 additions and 51 deletions
-17
View File
@@ -28,25 +28,8 @@ local prettyPrint = WeakAuras.prettyPrint
WeakAurasTimers = setmetatable({}, {__tostring=function() return "WeakAuras" end})
LibStub("AceTimer-3.0"):Embed(WeakAurasTimers)
WeakAuras.maxTimerDuration = 604800; -- A week, in seconds
WeakAuras.maxUpTime = 4294967; -- 2^32 / 1000
Private.callbacks = LibStub("CallbackHandler-1.0"):New(Private)
function WeakAuras:Mixin(object, ...)
for i = 1, select("#", ...) do
local mixin = select(i, ...);
for k, v in pairs(mixin) do
object[k] = v;
end
end
return object;
end
function WeakAurasTimers:ScheduleTimerFixed(func, delay, ...)
return self:ScheduleTimer(func, delay, ...);
end
local LDB = LibStub:GetLibrary("LibDataBroker-1.1")
local LDBIcon = LibStub("LibDBIcon-1.0")
local LCG = LibStub("LibCustomGlow-1.0")