mirror of
https://github.com/Bluewhale1337/HealBotBlue.git
synced 2026-07-27 09:44:44 +00:00
Add files via upload
First commit. Version 1.0, stable release
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
function HealBot_Errors_OnLoad(this)
|
||||
-- do nothing
|
||||
end
|
||||
|
||||
function HealBot_Errors_OnShow(this)
|
||||
local client = getglobal("HealBot_Error_Clientx")
|
||||
client:SetText("Client="..GetLocale())
|
||||
HealBot_Error_Versionx:SetText("Healbot verion="..HEALBOT_VERSION)
|
||||
HealBot_Error_Classx:SetText("Player class="..HealBot_UnitClass("player"))
|
||||
end
|
||||
|
||||
function HealBot_Errors_OnHide(this)
|
||||
local errtext;
|
||||
HealBot_StopMoving(this);
|
||||
for j=1,28 do
|
||||
errtext = getglobal("HealBot_Error"..j);
|
||||
errtext:SetText(" ")
|
||||
end
|
||||
HealBot_ErrorCnt=0;
|
||||
end
|
||||
|
||||
function HealBot_Errors_OnDragStart(this,arg1)
|
||||
HealBot_StartMoving(this);
|
||||
end
|
||||
|
||||
function HealBot_Errors_OnDragStop(this)
|
||||
HealBot_StopMoving(this);
|
||||
end
|
||||
|
||||
function HealBot_ErrorsIn(msg,id)
|
||||
local errtext = getglobal("HealBot_Error"..id);
|
||||
errtext:SetText(msg)
|
||||
ShowUIPanel(HealBot_Error);
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user