Method Global:GetAreaName [-] [+]

Returns the area or zone's name.

enum LocaleConstant
{
    LOCALE_enUS = 0,
    LOCALE_koKR = 1,
    LOCALE_frFR = 2,
    LOCALE_deDE = 3,
    LOCALE_zhCN = 4,
    LOCALE_zhTW = 5,
    LOCALE_esES = 6,
    LOCALE_esMX = 7,
    LOCALE_ruRU = 8
};

Synopsis

areaOrZoneName = GetAreaName( areaOrZoneId )

areaOrZoneName = GetAreaName( areaOrZoneId, locale )

Arguments

number areaOrZoneId

Area ID or zone ID.

Valid numbers: integers from 0 to 4,294,967,295.

LocaleConstant locale (DEFAULT_LOCALE)

Locale to return the name in.

Returns

string areaOrZoneName
See method description.

Generated on
©2016 - Eluna Lua Engine