mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 07:54:44 +08:00
re init
This commit is contained in:
48
lib/data/app_placard_data.dart
Normal file
48
lib/data/app_placard_data.dart
Normal file
@ -0,0 +1,48 @@
|
||||
/// version : "255c1fd9-c49c-4031-8733-b38e5363d666"
|
||||
/// title : "测试公告"
|
||||
/// content : "星际公民诊断工具 V3 正在开发中..."
|
||||
/// link : null
|
||||
/// link_type : "external"
|
||||
/// always_show : false
|
||||
/// enable : true
|
||||
|
||||
class AppPlacardData {
|
||||
AppPlacardData({
|
||||
this.version,
|
||||
this.title,
|
||||
this.content,
|
||||
this.link,
|
||||
this.linkType,
|
||||
this.alwaysShow,
|
||||
this.enable,});
|
||||
|
||||
AppPlacardData.fromJson(dynamic json) {
|
||||
version = json['version'];
|
||||
title = json['title'];
|
||||
content = json['content'];
|
||||
link = json['link'];
|
||||
linkType = json['link_type'];
|
||||
alwaysShow = json['always_show'];
|
||||
enable = json['enable'];
|
||||
}
|
||||
String? version;
|
||||
String? title;
|
||||
String? content;
|
||||
dynamic link;
|
||||
String? linkType;
|
||||
bool? alwaysShow;
|
||||
bool? enable;
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final map = <String, dynamic>{};
|
||||
map['version'] = version;
|
||||
map['title'] = title;
|
||||
map['content'] = content;
|
||||
map['link'] = link;
|
||||
map['link_type'] = linkType;
|
||||
map['always_show'] = alwaysShow;
|
||||
map['enable'] = enable;
|
||||
return map;
|
||||
}
|
||||
|
||||
}
|
43
lib/data/app_version_data.dart
Normal file
43
lib/data/app_version_data.dart
Normal file
@ -0,0 +1,43 @@
|
||||
/// lastVersion : "V2.5"
|
||||
/// lastVersionCode : 8
|
||||
/// lastBetaVersion : "V2.5"
|
||||
/// lastBetaVersionCode : 8
|
||||
/// minVersionCode : 7
|
||||
/// minBetaVersionCode : 7
|
||||
|
||||
class AppVersionData {
|
||||
AppVersionData({
|
||||
this.lastVersion,
|
||||
this.lastVersionCode,
|
||||
this.lastBetaVersion,
|
||||
this.lastBetaVersionCode,
|
||||
this.minVersionCode,
|
||||
this.minBetaVersionCode,});
|
||||
|
||||
AppVersionData.fromJson(dynamic json) {
|
||||
lastVersion = json['lastVersion'];
|
||||
lastVersionCode = json['lastVersionCode'];
|
||||
lastBetaVersion = json['lastBetaVersion'];
|
||||
lastBetaVersionCode = json['lastBetaVersionCode'];
|
||||
minVersionCode = json['minVersionCode'];
|
||||
minBetaVersionCode = json['minBetaVersionCode'];
|
||||
}
|
||||
String? lastVersion;
|
||||
num? lastVersionCode;
|
||||
String? lastBetaVersion;
|
||||
num? lastBetaVersionCode;
|
||||
num? minVersionCode;
|
||||
num? minBetaVersionCode;
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final map = <String, dynamic>{};
|
||||
map['lastVersion'] = lastVersion;
|
||||
map['lastVersionCode'] = lastVersionCode;
|
||||
map['lastBetaVersion'] = lastBetaVersion;
|
||||
map['lastBetaVersionCode'] = lastBetaVersionCode;
|
||||
map['minVersionCode'] = minVersionCode;
|
||||
map['minBetaVersionCode'] = minBetaVersionCode;
|
||||
return map;
|
||||
}
|
||||
|
||||
}
|
43
lib/data/app_web_localization_versions_data.dart
Normal file
43
lib/data/app_web_localization_versions_data.dart
Normal file
@ -0,0 +1,43 @@
|
||||
/// rsi : "0.2.11"
|
||||
/// uex : "2.2"
|
||||
/// addresses : "1.0"
|
||||
/// concierge : "1.1"
|
||||
/// hangar : "1.2"
|
||||
/// orgs : "1.3"
|
||||
|
||||
class AppWebLocalizationVersionsData {
|
||||
AppWebLocalizationVersionsData({
|
||||
this.rsi,
|
||||
this.uex,
|
||||
this.addresses,
|
||||
this.concierge,
|
||||
this.hangar,
|
||||
this.orgs,});
|
||||
|
||||
AppWebLocalizationVersionsData.fromJson(dynamic json) {
|
||||
rsi = json['rsi'];
|
||||
uex = json['uex'];
|
||||
addresses = json['addresses'];
|
||||
concierge = json['concierge'];
|
||||
hangar = json['hangar'];
|
||||
orgs = json['orgs'];
|
||||
}
|
||||
String? rsi;
|
||||
String? uex;
|
||||
String? addresses;
|
||||
String? concierge;
|
||||
String? hangar;
|
||||
String? orgs;
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final map = <String, dynamic>{};
|
||||
map['rsi'] = rsi;
|
||||
map['uex'] = uex;
|
||||
map['addresses'] = addresses;
|
||||
map['concierge'] = concierge;
|
||||
map['hangar'] = hangar;
|
||||
map['orgs'] = orgs;
|
||||
return map;
|
||||
}
|
||||
|
||||
}
|
53
lib/data/game_performance_data.dart
Normal file
53
lib/data/game_performance_data.dart
Normal file
@ -0,0 +1,53 @@
|
||||
/// key : "r_displayinfo"
|
||||
/// name : "屏幕信息(展示帧率)"
|
||||
/// info : "在屏幕右上角展示帧率,服务器信息等"
|
||||
/// type : "int"
|
||||
/// max : 4
|
||||
/// min : 0
|
||||
/// value : 0
|
||||
/// group : "设置"
|
||||
|
||||
class GamePerformanceData {
|
||||
GamePerformanceData({
|
||||
this.key,
|
||||
this.name,
|
||||
this.info,
|
||||
this.type,
|
||||
this.max,
|
||||
this.min,
|
||||
this.value,
|
||||
this.group,});
|
||||
|
||||
GamePerformanceData.fromJson(dynamic json) {
|
||||
key = json['key'];
|
||||
name = json['name'];
|
||||
info = json['info'];
|
||||
type = json['type'];
|
||||
max = json['max'];
|
||||
min = json['min'];
|
||||
value = json['value'];
|
||||
group = json['group'];
|
||||
}
|
||||
String? key;
|
||||
String? name;
|
||||
String? info;
|
||||
String? type;
|
||||
num? max;
|
||||
num? min;
|
||||
num? value;
|
||||
String? group;
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final map = <String, dynamic>{};
|
||||
map['key'] = key;
|
||||
map['name'] = name;
|
||||
map['info'] = info;
|
||||
map['type'] = type;
|
||||
map['max'] = max;
|
||||
map['min'] = min;
|
||||
map['value'] = value;
|
||||
map['group'] = group;
|
||||
return map;
|
||||
}
|
||||
|
||||
}
|
38
lib/data/sc_localization_data.dart
Normal file
38
lib/data/sc_localization_data.dart
Normal file
@ -0,0 +1,38 @@
|
||||
/// enable : false
|
||||
/// versionName : "3.21.0(PU)_CN_V0"
|
||||
/// updateAt : "2023-10-5: 10:15:00"
|
||||
/// info : "简体中文汉化"
|
||||
/// channel : "PTU"
|
||||
|
||||
class ScLocalizationData {
|
||||
ScLocalizationData({
|
||||
this.enable,
|
||||
this.versionName,
|
||||
this.updateAt,
|
||||
this.info,
|
||||
this.channel,});
|
||||
|
||||
ScLocalizationData.fromJson(dynamic json) {
|
||||
enable = json['enable'];
|
||||
versionName = json['versionName'];
|
||||
updateAt = json['updateAt'];
|
||||
info = json['info'];
|
||||
channel = json['channel'];
|
||||
}
|
||||
bool? enable;
|
||||
String? versionName;
|
||||
String? updateAt;
|
||||
String? info;
|
||||
String? channel;
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final map = <String, dynamic>{};
|
||||
map['enable'] = enable;
|
||||
map['versionName'] = versionName;
|
||||
map['updateAt'] = updateAt;
|
||||
map['info'] = info;
|
||||
map['channel'] = channel;
|
||||
return map;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user