WoW API: GetDefaultLanguage
Jump to navigation
Jump to search
← WoW API < GetDefaultLanguage
Returns the Language used by the indicated Player.
language = GetDefaultLanguage(unit);
Parameters[edit]
Arguments[edit]
- player
- UnitId - unit whose default language you wish to query.
Returns[edit]
- language
- the default language of the indicated object, usually the faction's common language (i.e. "Common" and "Orcish").