WoW API: GetDefaultLanguage

From AddOn Studio
Revision as of 00:36, 24 December 2006 by WoWWiki>Starlightblunder (Okay, actual {{wowapi}} this time.)
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").