9 lines
583 B
Lua
9 lines
583 B
Lua
---@diagnostic disable: missing-return, lowercase-global
|
|
|
|
---@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
|