Struct Region
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: MingweiSamuel.Camille.Enums
Assembly: Camille.dll
Syntax
public struct Region
Constructors
| Improve this Doc View SourceRegion(String, String)
Declaration
[Obsolete("Use Region.* static regions or Region.Get(string) instead.")]
public Region(string key, string platform)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.String | platform |
Fields
| Improve this Doc View SourceAmericas
Regional proxy for Americas.
Declaration
public static readonly Region Americas
Field Value
Type | Description |
---|---|
Region |
Asia
Regional proxy for Asia.
Declaration
public static readonly Region Asia
Field Value
Type | Description |
---|---|
Region |
BR
Brazil.
Declaration
public static readonly Region BR
Field Value
Type | Description |
---|---|
Region |
EUNE
North-east Europe.
Declaration
public static readonly Region EUNE
Field Value
Type | Description |
---|---|
Region |
Europe
Regional proxy for Europe.
Declaration
public static readonly Region Europe
Field Value
Type | Description |
---|---|
Region |
EUW
West Europe.
Declaration
public static readonly Region EUW
Field Value
Type | Description |
---|---|
Region |
Garena
Garena publisher - South east asia regions. Not functional in endpoints.
Declaration
public static readonly Region Garena
Field Value
Type | Description |
---|---|
Region |
Global
Global.
Declaration
public static readonly Region Global
Field Value
Type | Description |
---|---|
Region |
JP
Japan.
Declaration
public static readonly Region JP
Field Value
Type | Description |
---|---|
Region |
Key
Region key in all capital letters.
Declaration
public readonly string Key
Field Value
Type | Description |
---|---|
System.String |
KR
Korea.
Declaration
public static readonly Region KR
Field Value
Type | Description |
---|---|
Region |
LAN
North Latin America.
Declaration
public static readonly Region LAN
Field Value
Type | Description |
---|---|
Region |
LAS
South Latin America.
Declaration
public static readonly Region LAS
Field Value
Type | Description |
---|---|
Region |
NA
North America.
Declaration
public static readonly Region NA
Field Value
Type | Description |
---|---|
Region |
OCE
Oceania.
Declaration
public static readonly Region OCE
Field Value
Type | Description |
---|---|
Region |
PBE
Public beta environment. Only functional in certain endpoints.
Declaration
public static readonly Region PBE
Field Value
Type | Description |
---|---|
Region |
Platform
Platform ID in capital letters and digits.
Declaration
public readonly string Platform
Field Value
Type | Description |
---|---|
System.String |
RU
Russia.
Declaration
public static readonly Region RU
Field Value
Type | Description |
---|---|
Region |
Tencent
Tencent publisher - China. Not functional in endpoints.
Declaration
public static readonly Region Tencent
Field Value
Type | Description |
---|---|
Region |
TR
Turkey.
Declaration
public static readonly Region TR
Field Value
Type | Description |
---|---|
Region |
TRLH1
Tournament Realm 1.
Declaration
public static readonly Region TRLH1
Field Value
Type | Description |
---|---|
Region |
TRLH2
Tournament Realm 2.
Declaration
public static readonly Region TRLH2
Field Value
Type | Description |
---|---|
Region |
TRLH3
Tournament Realm 3.
Declaration
public static readonly Region TRLH3
Field Value
Type | Description |
---|---|
Region |
TRLH4
Tournament Realm 4.
Declaration
public static readonly Region TRLH4
Field Value
Type | Description |
---|---|
Region |
Methods
| Improve this Doc View SourceGet(String)
Gets the Region associated with the given region key or platform ID. Throws a KeyNotFoundException if not found.
Declaration
public static Region Get(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Region key or platform ID. |
Returns
Type | Description |
---|---|
Region | Matching region. |
Exceptions
Type | Condition |
---|---|
System.Collections.Generic.KeyNotFoundException | If region not found. |