Returns the number of suggested declension sets for a name. Used in the Russian localized World of Warcraft client; see DeclineName for further details. Returns 0 in other locales.


See also Locale-specific functions.

Signature:

numSets = GetNumDeclensionSets("name", gender)

Arguments:

  • name - Nominative form of the player's or pet's name (string)
  • gender - Gender for names (for declensions of the player's name, should match the player's gender; for the pet's name, should be neuter) (number)
    • 1 or nil - Neuter
    • 2 - Male
    • 3 - Female

Returns:

  • numSets - Number of available declension sets usable with DeclineName (number)