WoW:API GetDefaultLanguage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Okay, actual {{wowapi}} this time.) |
||
Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | |||
Returns the Language used by the indicated Player. | 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"). | |||
: | |||
: | |||
Revision as of 00:36, 24 December 2006
← 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").