Game GetZoneInfo

Retrieve information about a zone id.
;Usage
{main_title, location, sub_title, minor_title, name} = Game.GetZoneInfo(zoneId)
Parameter	Type 	Description
zoneId 	number	a zone id
;Return Values
Value 	Type 	Description
zone_type 	string	-
main_title 	string	-
location 	string	-
sub_title 	string	-
minor_title	string	-
name 	string	-
;Examples:
<nowiki>
local zoneId = Game.GetZoneId();
local zinfo = Game.GetZoneInfo(zoneId);
--[[
zinfo = {
"zone_type" = "openworld",
"main_title": "Copacobana",
"location": "Coral Forest",
"sub_title": "Coral Forest",
"minor_title": "New Eden",
"name": "New Eden"
}
zinfo = {
"zone_type" = "adventure",
"main_title" = "Sargasso Sea",
"location" = "Sector J7 - Geopalegic Region",
"sub_title" = "Sector J7 - Geopalegic Region",
"minor_title" = "",
"name" = "SargassoSea"
}
{
"zone_type" = "adventure",
"main_title" = "Blackwater Anomaly",
"location" = "Somewhere in the Melding",
"sub_title" = "Somewhere in the Melding",
"minor_title" = "",
"name" = "Blackwater Anomaly"
}
{
"zone_type" = "adventure",
"main_title" = "Epicenter",
"location" = "Location... Unknown",
"sub_title" = "Location... Unknown",
"minor_title" = "",
"name" = "Epicenter Melding Tornado Pocket"
}
--]]
</nowiki>
Category:Addon_API