From Wowpedia
Jump to: navigation, search

Returns a numeric ID representing the region the player is currently logged into.

regionID = GetCurrentRegion()


The following region IDs are known:

ID Description
1 US (includes Brazil and Oceania)
2 Korea
3 Europe (includes Russia)
4 Taiwan
5 China


This function (arguably incorrectly) returns 1 on PTR and Beta servers.

This function is unreliable for players who switch between regions. For example, if a player installs the US client and then logs into EU servers, this function will incorrectly report that they are still in the US region.

Patch changes