WoW:API GetDefaultLanguage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Move page script moved page API GetDefaultLanguage to API GetDefaultLanguage without leaving a redirect) |
||
(3 intermediate revisions by 3 users not shown) | |||
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"). |
Latest revision as of 04:45, 15 August 2023
← 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").