API GetMapContinents

Returns a list of continent names and IDs.
 id1, name1, id2, name2, ... = GetMapContinents();
==Returns==
;id : Number - ?
;name : String - The name of the continent.
==Example==
 local continents = { GetMapContinents() }
 for i=1, #continents, 2 do
 print(continents[i] .. ": " .. continents[i+1])
 end
 
===Result===
A list of the continent names is displayed in the default chat frame.
 13: Kalimdor
 14: Eastern Kingdoms
 466: Outland
 485: Northrend
 751: The Maelstrom
 862: Pandaria
 962: Draenor
 1007: Broken Isles
 1184: Argus
==Details==
* Note that as more expansions are released, the output of this function will probably change. Also, the output differs based on the localization of the client.
* The order continents are returned in corresponds to the return values.
==Patch changes==
*
*