WoW:API GetCurrentMapAreaID: Difference between revisions

m
Move page script moved page API GetCurrentMapAreaID to WoW:API GetCurrentMapAreaID without leaving a redirect
(Created page with "  {{wowapi}} __NOTOC__ areaid = GetCurrentMapAreaID(); Returns the area ID of the current world map. ---- ;''Arguments'' :''none'' ---- ;''Returns'' :areaid :;areaid : I…")
 
m (Move page script moved page API GetCurrentMapAreaID to WoW:API GetCurrentMapAreaID without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{wowapi}}__NOTOC__
{{wowapi}} __NOTOC__
Returns the area MapID of the current world map.


  areaid = GetCurrentMapAreaID();
  mapID, isContenent = GetCurrentMapAreaID()


Returns the area ID of the current world map.
== 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 ==
;''Arguments''
Return value can be used with [[API SetMapByID|SetMapByID(id)]].


:''none''
== See also ==
 
*[[API_GetQuestWorldMapAreaID|GetQuestWorldMapAreaID]]
----
*[[API_GetMapNameByID|GetMapNameByID]]
;''Returns''
 
:areaid
:;areaid : Integer - area id of the current map. 
 
----
;''Details''
 
Return value can be used with [[API SetMapByID |SetMapByID(id) ]].
Anonymous user