AftermathUI.func is
Just for notice. Thus I'm going to try
lua Code:
for _, v in pairs({
CompactUnitFrame_UpdateVisible, CompactUnitFrame_UpdateAll, --PetFrame_Update,
}) do
v = function() return end
end
for _, v in pairs({
_G["CompactRaidFrameContainer"], --_G["TutorialFrame"],
}) do
v:UnregisterAllEvents()
v.Show = function() return end
v:Hide()
end
But it is hard to believe that rewriting Blizzard functions and not hooking them secures does not give you taints.
The best solution I found so far for secure hiding is:
lua Code:
local hideMe = function(self)
self:Hide()
end
hooksecurefunc(obj, "Show", hideMe)