WoW API: GetDefaultLanguage

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetDefaultLanguage to API GetDefaultLanguage without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetDefaultLanguage

Returns the Language used by the indicated Player.

language = GetDefaultLanguage(unit);

Parameters

Arguments

player
UnitId - unit whose default language you wish to query.

Returns

language
the default language of the indicated object, usually the faction's common language (i.e. "Common" and "Orcish").