# 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.

# Keyboard shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result

# Search tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct` (or `str`), `enum`, `trait`, `typedef` (or `tdef`).

Generated on
© 2010 - 2024 Eluna Lua Engine