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,8 +1,8 @@
---@diagnostic disable: missing-return, lowercase-global
---@param token string
---@param gender number
---@param ordinal number
---@return string text
---@param token string
---@param gender number
---@param ordinal number
---@return string text
---Returns a localized string according to given parameters. Applies to any global variable whose name fits a standard format: for example, GetText("foo") returns the value of the global variable foo (if it exists), and GetText("foo", 3) returns the value of foo_FEMALE (or if it does not exist, the value of foo). Causes a Lua error if the given variable does not exists (or is nil).
function GetText(token, gender, ordinal) end
function GetText(token, gender, ordinal) end