WoW API: GetDefaultLanguage
← WoW API < GetDefaultLanguage
Returns the Language used by the indicated Player.
language = GetDefaultLanguage(unit);
ParametersEdit
ArgumentsEdit
- player
- UnitId - unit whose default language you wish to query.
ReturnsEdit
- language
- the default language of the indicated object, usually the faction's common language (i.e. "Common" and "Orcish").