此次提交主要对代码进行了简化和优化,具体更改如下: 1. 在 `App.xaml` 中,将 `ConCernItem` 的 `DataTemplate` 从 `StackPanel` 改为 `Grid`,并添加了 `Grid.ColumnDefinitions` 和 `Grid.RowDefinitions`。 2. 在 `App.xaml.cs` 中,删除了创建和解压缩 `RustCode` 目录的代码,改为直接从 `Assets` 目录获取 `DataBaseManifest` 文件,并更新了异常处理逻辑。 3. 在 `RustTools.csproj` 中,添加了新的 `PackageReference`,更新了 `RestSharp` 的版本,并注释掉了 `squirrel.windows` 的引用。 4. 在 `PostRwmod.xaml.cs` 中,删除了 `SharpCompress.Common` 和 `TinyPinyin` 的引用。 5. 在 `CodeDataPage.xaml.cs` 中,更新了 `filePath` 的路径,从 `ApplicationData.Current.LocalFolder.Path` 改为 `AppContext.BaseDirectory`。 6. 在 `ConcernPage.xaml` 中,调整了 `StackPanelA` 的 `MinWidth` 属性,并删除了 `StackPanel` 的 `Background` 属性。 7. 在 `ConcernPage.xaml.cs` 中,更新了 `Getlist` 方法的逻辑,增加了对 `response` 的空值和错误码检查。 8. 在 `ModulePage.xaml.cs` 中,删除了 `SharpCompress.Common` 和 `WinRT.Interop` 的引用。 9. 在 `SettingsPage.xaml` 中,更新了 `PersonPicture` 的 `ToolTipService.ToolTip` 属性。 10. 在 `IniHelper.cs` 中,更新了 `Load` 方法的 `filePath` 路径,并添加了目录不存在时创建目录的逻辑。 11. 在 `wj.cs` 中,更新了 `CD` 的路径为 `AppContext.BaseDirectory`,并注释掉了废弃的路径。 12. 在 `config.ini` 中,添加了 `[Settings]` 节点和 `SystemBackdrop=Mica` 设置。 此外,添加了以下新 JSON 文件: 1. `DataBaseManifest.json`:包含数据集的基本信息和数据表的映射。 2. `game_version.json`:包含游戏版本数据。 3. `section.json`:包含铁锈助手节名数据。 4. `value_type.json`:定义了一个名为 "值类型表" 的数据结构,包含多个值类型及其详细信息。
171 lines
3.2 KiB
JSON
171 lines
3.2 KiB
JSON
{
|
|
"name": "铁锈助手节名数据",
|
|
"data": [
|
|
{
|
|
"code": "core",
|
|
"translate": "核心",
|
|
"needName": false
|
|
},
|
|
{
|
|
"code": "graphics",
|
|
"translate": "图像",
|
|
"needName": false
|
|
},
|
|
{
|
|
"code": "attack",
|
|
"translate": "攻击",
|
|
"needName": false
|
|
},
|
|
{
|
|
"code": "turret",
|
|
"translate": "炮塔",
|
|
"needName": true
|
|
},
|
|
{
|
|
"code": "projectile",
|
|
"translate": "抛射体",
|
|
"needName": true
|
|
},
|
|
{
|
|
"code": "movement",
|
|
"translate": "运动",
|
|
"needName": false
|
|
},
|
|
{
|
|
"code": "ai",
|
|
"translate": "人机",
|
|
"needName": false
|
|
},
|
|
{
|
|
"code": "leg",
|
|
"translate": "腿",
|
|
"needName": true
|
|
},
|
|
{
|
|
"code": "arm",
|
|
"translate": "脚",
|
|
"needName": true
|
|
},
|
|
{
|
|
"code": "effect",
|
|
"translate": "效果",
|
|
"needName": true
|
|
},
|
|
{
|
|
"code": "animation",
|
|
"translate": "动画",
|
|
"needName": true
|
|
},
|
|
{
|
|
"code": "action",
|
|
"translate": "行动",
|
|
"needName": true
|
|
},
|
|
{
|
|
"code": "canBuild",
|
|
"translate": "可建造",
|
|
"needName": true
|
|
},
|
|
{
|
|
"code": "attachment",
|
|
"translate": "附属",
|
|
"needName": true
|
|
},
|
|
{
|
|
"code": "hiddenAction",
|
|
"translate": "隐藏行动",
|
|
"needName": true
|
|
},
|
|
{
|
|
"code": "global_resource",
|
|
"translate": "全局资源",
|
|
"needName": true,
|
|
"isVisible": "true"
|
|
},
|
|
{
|
|
"code": "template",
|
|
"translate": "模板",
|
|
"needName": true
|
|
},
|
|
{
|
|
"code": "resource",
|
|
"translate": "资源",
|
|
"needName": true,
|
|
"isVisible": true
|
|
},
|
|
{
|
|
"code": "placementRule",
|
|
"translate": "放置规则",
|
|
"needName": true,
|
|
"isVisible": true
|
|
},
|
|
{
|
|
"code": "vanillaUnit",
|
|
"translate": "原版单位对照表",
|
|
"needName": true,
|
|
"isVisible": true
|
|
},
|
|
{
|
|
"code": "vanillaDexUnit",
|
|
"translate": "特殊单位对照表",
|
|
"needName": true,
|
|
"isVisible": true
|
|
},
|
|
{
|
|
"code": "logicBoolean",
|
|
"translate": "逻辑值",
|
|
"needName": false,
|
|
"isAvailable": false,
|
|
"isVisible":true
|
|
},
|
|
{
|
|
"code": "comment",
|
|
"translate": "注解",
|
|
"needName": false,
|
|
"isAvailable": false,
|
|
"isVisible":false
|
|
},
|
|
{
|
|
"code": "boolean",
|
|
"translate": "布尔值",
|
|
"needName": false,
|
|
"isAvailable": false
|
|
},
|
|
{
|
|
"code": "Specific",
|
|
"translate": "特定值",
|
|
"needName": false,
|
|
"isAvailable": false
|
|
},
|
|
{
|
|
"code":"array",
|
|
"translate":"数组",
|
|
"needName": true,
|
|
"isVisible": true
|
|
},
|
|
{
|
|
"code":"memory",
|
|
"translate":"内存",
|
|
"needName": true,
|
|
"isVisible": true
|
|
},
|
|
{
|
|
"code":"reloadArmy",
|
|
"translate":"刷兵",
|
|
"needName": true,
|
|
"isVisible": false
|
|
},
|
|
{
|
|
"code":"decal",
|
|
"translate":"贴花",
|
|
"needName": true,
|
|
"isVisible": true
|
|
},
|
|
{
|
|
"code":"misc",
|
|
"translate":"杂项",
|
|
"needName": true,
|
|
"isVisible": false
|
|
}
|
|
]
|
|
} |