mirror of
https://github.com/Bluewhale1337/HealBotBlue.git
synced 2026-09-11 09:50:21 +00:00
docs: add function-level documentation comments across various source files to improve the readability of codebase
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
-- HealBot_Errors_OnLoad: Internal utility: HealBot_Errors_OnLoad
|
||||
function HealBot_Errors_OnLoad(this)
|
||||
-- do nothing
|
||||
end
|
||||
|
||||
-- HealBot_Errors_OnShow: Show event handler.
|
||||
function HealBot_Errors_OnShow(this)
|
||||
local client = getglobal("HealBot_Error_Clientx")
|
||||
client:SetText("Client="..GetLocale())
|
||||
@@ -9,6 +11,7 @@ function HealBot_Errors_OnShow(this)
|
||||
HealBot_Error_Classx:SetText("Player class="..HealBot_UnitClass("player"))
|
||||
end
|
||||
|
||||
-- HealBot_Errors_OnHide: Hide event handler.
|
||||
function HealBot_Errors_OnHide(this)
|
||||
local errtext;
|
||||
HealBot_StopMoving(this);
|
||||
@@ -19,14 +22,17 @@ function HealBot_Errors_OnHide(this)
|
||||
HealBot_ErrorCnt=0;
|
||||
end
|
||||
|
||||
-- HealBot_Errors_OnDragStart: Internal utility: HealBot_Errors_OnDragStart
|
||||
function HealBot_Errors_OnDragStart(this,arg1)
|
||||
HealBot_StartMoving(this);
|
||||
end
|
||||
|
||||
-- HealBot_Errors_OnDragStop: Internal utility: HealBot_Errors_OnDragStop
|
||||
function HealBot_Errors_OnDragStop(this)
|
||||
HealBot_StopMoving(this);
|
||||
end
|
||||
|
||||
-- HealBot_ErrorsIn: Internal utility: HealBot_ErrorsIn
|
||||
function HealBot_ErrorsIn(msg,id)
|
||||
local errtext = getglobal("HealBot_Error"..id);
|
||||
errtext:SetText(msg)
|
||||
|
||||
Reference in New Issue
Block a user