public enum Region extends Enum<Region>
Enum Constant and Description |
---|
BR
Brazil.
|
EUNE
North-east Europe.
|
EUW
West Europe.
|
GARENA
Garena publisher - South east asia regions.
|
GLOBAL
Global.
|
JP
Japan.
|
KR
Korea.
|
LAN
North Latin America.
|
LAS
South Latin America.
|
NA
North America.
|
OCE
Oceania.
|
PBE
Public beta environment.
|
RU
Russia.
|
TENCENT
Tencent publisher - China.
|
TR
Turkey.
|
Modifier and Type | Field and Description |
---|---|
boolean |
isSupported |
String |
platform
The Platform ID of the region.
|
Modifier and Type | Method and Description |
---|---|
String |
getSubdomain() |
static Region |
parse(String value)
Parses a region or platform string.
|
String |
toString() |
static Region |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Region[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Region BR
public static final Region EUNE
public static final Region EUW
public static final Region NA
public static final Region KR
public static final Region LAN
public static final Region LAS
public static final Region OCE
public static final Region RU
public static final Region TR
public static final Region JP
public static final Region PBE
public static final Region GARENA
public static final Region TENCENT
public static final Region GLOBAL
public final boolean isSupported
public final String platform
public static Region[] values()
for (Region c : Region.values()) System.out.println(c);
public static Region valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getSubdomain()
Copyright © 2019. All rights reserved.