Initial commit
This commit is contained in:
15
api/DeclineName.lua
Normal file
15
api/DeclineName.lua
Normal 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
|
||||
Reference in New Issue
Block a user