API GetDefaultLanguage
Talk0
98,523pages on
this wiki
this wiki
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").