API GetDefaultLanguage

From Wowpedia
Jump to: navigation, search

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").