15 lines
944 B
Lua
15 lines
944 B
Lua
---@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 |