File tree Expand file tree Collapse file tree 2 files changed +31
-6
lines changed
PCL.Neo.Core/Models/Configuration/Data Expand file tree Collapse file tree 2 files changed +31
-6
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,21 @@ public record AppSettingsData
31
31
/// </summary>
32
32
public int MinMemoryMb { get ; set ; } = 512 ;
33
33
34
+ /// <summary>
35
+ /// 是否启用内存优化
36
+ /// </summary>
34
37
public bool MemoryOptimize { get ; set ; } = false ;
35
38
39
+ /// <summary>
40
+ /// 当前游戏档案
41
+ /// </summary>
42
+ public string CurrentGameProfile { get ; set ; } = "Default" ;
43
+
44
+ /// <summary>
45
+ /// 当前游戏的名称
46
+ /// </summary>
47
+ public string CurrentGame { get ; set ; } = string . Empty ;
48
+
36
49
/// <summary>
37
50
/// 版本隔离
38
51
/// </summary>
@@ -43,13 +56,25 @@ public record AppSettingsData
43
56
/// </summary>
44
57
public string GameTitle { get ; set ; } = string . Empty ;
45
58
59
+ /// <summary>
60
+ /// 游戏自定义信息(暂未知作用)
61
+ /// </summary>
46
62
public string CustomizedInfo { get ; set ; } = string . Empty ;
47
63
64
+ /// <summary>
65
+ /// 启动器可见性
66
+ /// </summary>
48
67
public LauncherVisibleType LauncherVisible { get ; set ; } = LauncherVisibleType . None ;
49
68
69
+ /// <summary>
70
+ /// 游戏进程优先级
71
+ /// </summary>
50
72
public ProcessPriorityClass ProcessPriority { get ; set ; } = ProcessPriorityClass . Normal ;
51
73
52
- public WindowSizeType WindowSize { get ; set ; } = WindowSizeType . Default ;
74
+ /// <summary>
75
+ /// 窗口大小
76
+ /// </summary>
77
+ public WindowSizeType WindowSize { get ; set ; } = WindowSizeType . Default ; // TODO: 修改游戏启动代码,适配这个
53
78
54
79
/// <summary>
55
80
/// 记住的Java路径
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ namespace PCL.Neo.Core.Models.Configuration.Data;
2
2
3
3
public enum LauncherVisibleType
4
4
{
5
- None ,
6
- CLose ,
7
- HideAndClose ,
8
- HideAndOpen ,
9
- Hide
5
+ None , // 无动作
6
+ CLose , // 启动后关闭
7
+ HideThenClose , // 启动后隐藏,游戏退出后关闭
8
+ HideThenOpen , // 启动后隐藏,游戏退出后显示
9
+ Hide // 启动后隐藏
10
10
}
You can’t perform that action at this time.
0 commit comments