Skip to content

Commit b4b2e94

Browse files
committed
[增加]1. 增加缺失字段的参数标记
1 parent 828751f commit b4b2e94

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

GameFrameX.StartUp/Options/LauncherOptions.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,13 @@ public sealed class LauncherOptions
149149
/// <summary>
150150
/// 语言
151151
/// </summary>
152+
[Option(nameof(Language), HelpText = "语言")]
152153
public string Language { get; set; }
153154

154155
/// <summary>
155156
/// 数据中心
156157
/// </summary>
158+
[Option(nameof(DataCenter), HelpText = "数据中心")]
157159
public string DataCenter { get; set; }
158160

159161
/// <summary>
@@ -190,7 +192,7 @@ public sealed class LauncherOptions
190192
/// 检查APM监控端口
191193
/// </summary>
192194
/// <exception cref="ArgumentOutOfRangeException"></exception>
193-
public void CheckAPMPort()
195+
public void CheckApmPort()
194196
{
195197
if (APMPort <= 10000 || APMPort >= ushort.MaxValue)
196198
{

0 commit comments

Comments
 (0)