Returns a numeric ID representing the region the player is currently logged into.
regionID = GetCurrentRegion()
The following region IDs are known:
|1||US (includes Brazil and Oceania)|
|3||Europe (includes Russia)|
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 6.0.2 (2014-10-14): Added.