Files
wow_Meta/api/DeclineName.lua

14 lines
888 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param name string
---@param gender gender
---@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, declensionSet) end