Code format

This commit is contained in:
2025-05-04 14:32:03 +02:00
parent c0337ef97f
commit 93b45ac12e
3012 changed files with 8372 additions and 9301 deletions

View File

@@ -1,6 +1,6 @@
---@diagnostic disable: missing-return, lowercase-global
---@param name string
---@return value value
---@param name string
---@return value value
---Returns the value of a global variable. Often used in the default UI in cases where several similar names are systematically constructed. Examples: In a script attached to a frame template, getglobal(self:GetName().."Icon") can refer to the Texture whose name is defined in XML as $parentIcon. Several sets of localized string tokens follow standard formats: e.g. getglobal("ITEM_QUALITY"..quality.."_DESC) returns the name for the numeric quality. Equivalent to _G.name or _G["name"].
function getglobal(name) end
function getglobal(name) end