You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
456 B
25 lines
456 B
local WIT, core = ...
|
|
|
|
function core:Init(event, name)
|
|
if (name ~= "WIT") then return end
|
|
|
|
if core.Config then
|
|
core.Config.Initialize()
|
|
end
|
|
|
|
if core.TSMHelper then
|
|
core.TSMHelper.Initialize()
|
|
end
|
|
|
|
if core.UI then
|
|
core.UI.Initialize()
|
|
end
|
|
end
|
|
|
|
function core.ClearCache()
|
|
for _, module in pairs(core.Modules) do
|
|
if module.ClearCache then
|
|
module.ClearCache()
|
|
end
|
|
end
|
|
end
|
|
|