DeclineName
functionguessedavailable in: camelot
Returns suggested declensions for a Russian name.
function DeclineName( name: string, gender: UnitSex?, declensionSet: number, namePartType: NamePartType?): stringParameters
| name | type | description |
|---|---|---|
name | string | Nominative form of the player's or pet's name (string) |
gender | UnitSex? | Gender for the returned names (for declensions of the player's name, should match the player's gender; for the pet's name, should be neuter). |
declensionSet | number | Ranging from 1 to GetNumDeclensionSets(). Lower indices correspond to "better" suggestions for the given name. |
namePartType | NamePartType? |
Returns
declinedNames · string
In wowlua's emulated client
guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Localization system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.