Initial commit

This commit is contained in:
2024-12-16 13:13:08 +01:00
commit c8d4f32d5d
3093 changed files with 18304 additions and 0 deletions

15
api/DeclineName.lua Normal file
View File

@@ -0,0 +1,15 @@
---@diagnostic disable: missing-return, lowercase-global
---@param name string
---@param gender 3
---@param 1or nil
---@param 2
---@param 3
---@param declensionSet number
---@return string genitive
---@return string dative
---@return string accusative
---@return string instrumental
---@return string prepositional
---Returns suggested declensions for a name. In the Russian language, nouns (including proper names) take different form based on their usage in a sentence. When the player enters the base name for a character or pet, the game suggests one or more sets of variations for the five additional cases; the player is asked to choose from among the suggestions and/or enter their own. (The set of declensions ultimately chosen/entered by the player are only used internally and not available to addons.) Has no effect in non-Russian-localized clients.
function DeclineName(name, gender, 1or nil, 2, 3, declensionSet) end