режим предателя + UI референсы и DragonUI

This commit is contained in:
2026-04-09 02:05:29 +04:00
parent 1109d19bb5
commit e8f1ae4ab9
397 changed files with 202750 additions and 37 deletions
+17
View File
@@ -0,0 +1,17 @@
function UIErrorsFrame_OnLoad(self)
self:RegisterEvent("SYSMSG");
self:RegisterEvent("UI_INFO_MESSAGE");
self:RegisterEvent("UI_ERROR_MESSAGE");
end
function UIErrorsFrame_OnEvent(self, event, ...)
local arg1, arg2, arg3, arg4 = ...
if ( event == "SYSMSG" ) then
self:AddMessage(arg1, arg2, arg3, arg4, 1.0);
elseif ( event == "UI_INFO_MESSAGE" ) then
self:AddMessage(arg1, 1.0, 1.0, 0.0, 1.0);
elseif ( event == "UI_ERROR_MESSAGE" ) then
self:AddMessage(arg1, 1.0, 0.1, 0.1, 1.0);
end
end