View Single Post
07-29-12, 07:25 PM   #174
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by Saiket View Post
Not sure when this was added, but GetInstanceInfo() now returns the current MapID as its 8th result, so addons can detect the current instance/continent without relying on localized map names. For example, 1 is Kalimdor and 530 is Outlands.
MapID has been available for a long time; see GetCurrentMapAreaID.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.