WoW API: GetCurrentMapAreaID

From AddOn Studio
Jump to navigation Jump to search
Reference 

WoW API < GetCurrentMapAreaID

Returns the area MapID of the current world map.

mapID, isContenent = GetCurrentMapAreaID()

Returns[edit]

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

Details[edit]

Return value can be used with SetMapByID(id).

See also[edit]