mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 11:13:46 +08:00
29 lines
737 B
Dart
29 lines
737 B
Dart
class ConstConf {
|
|
static const String appVersion = "2.13.4";
|
|
static const int appVersionCode = 62;
|
|
static const String appVersionDate = "2024-11-23";
|
|
static const _gameChannels = [
|
|
"LIVE",
|
|
"4.0_PREVIEW",
|
|
"PTU",
|
|
"EPTU",
|
|
"TECH-PREVIEW",
|
|
"HOTFIX"
|
|
];
|
|
static const isMSE =
|
|
String.fromEnvironment("MSE", defaultValue: "false") == "true";
|
|
static const dohAddress = "https://223.6.6.6/resolve";
|
|
static const inputMethodServerPort = 59399;
|
|
}
|
|
|
|
class AppConf {
|
|
static List<String>? _networkGameChannels;
|
|
|
|
static setNetworkChannels(List<String>? channels) {
|
|
_networkGameChannels = channels;
|
|
}
|
|
|
|
static List<String> get gameChannels =>
|
|
_networkGameChannels ?? ConstConf._gameChannels;
|
|
}
|