-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconstants.js
More file actions
66 lines (59 loc) · 1.32 KB
/
constants.js
File metadata and controls
66 lines (59 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
exports.SLEEP_TIME = 12 // delay to enforce between API calls
exports.regions = [
// "cn", // there is now an API but it doesn't allow me access
"eu",
"kr",
"tw",
"us",
]
exports.apiDomains = {
cn: "gateway.battlenet.com.cn",
eu: "eu.api.blizzard.com",
kr: "kr.api.blizzard.com",
tw: "tw.api.blizzard.com",
us: "us.api.blizzard.com",
}
exports.authDomains = {
cn: "www.battlenet.com.cn",
eu: "us.battle.net",
kr: "us.battle.net",
tw: "us.battle.net",
us: "us.battle.net",
}
exports.authRegions = {
cn: "cn",
eu: "us",
kr: "us",
tw: "us",
us: "us",
},
exports.timezones = {
"America/Chicago": "CST", // US Central
"America/Denver": "MST", // US Mountain
"America/Los_Angeles": "PST", // US Pacific
"America/New_York": "EST", // US Eastern
"America/Sao_Paolo": "BRT", // Brazil
"Asia/Seoul": "", // Korea
"Asia/Taipei": "", // Hong Kong
"Australia/Melbourne": "AEST", // Oceanic
"Europe/Paris": "", // EU Central
}
exports.localesInGame = {
"enGB": "enUS", // EU English servers report enUS
"ptPT": "ptBR", // EU Portuguese servers report ptBR
}
exports.localesWithUnderscores = {
"deDE": "de_DE",
"enGB": "en_GB",
"enUS": "en_US",
"esES": "es_ES",
"esMX": "es_MX",
"frFR": "fr_FR",
"itIT": "it_IT",
"koKR": "ko_KR",
"ptBR": "pt_BR",
"ptPT": "pt_PT",
"ruRU": "ru_RU",
"zhCN": "zh_CN",
"zhTW": "zh_TW",
}