WoW API: GetCurrentMapAreaID

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetCurrentMapAreaID to API GetCurrentMapAreaID without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetCurrentMapAreaID

Returns the area MapID of the current world map.

mapID, isContenent = GetCurrentMapAreaID()

Returns

  • mapID (number) - map ID of the current map
  • isContenent (boolean) - if is a top most map area that itself does not have POI

Details

Return value can be used with SetMapByID(id).

See also