Browse Source

fix: fix bugs of ArgumentOptions

tags/0.1.0
Gao Siyan GitHub 2 years ago
parent
commit
e3223bb8ae
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      logic/Server/ArgumentOption.cs

+ 2
- 2
logic/Server/ArgumentOption.cs View File

@@ -28,10 +28,10 @@ namespace Server
public ushort TrickerCount { get; set; } = 1; public ushort TrickerCount { get; set; } = 1;


[Option("maxStudentCount", Required = false, HelpText = "The max number of students, 4 by default")] [Option("maxStudentCount", Required = false, HelpText = "The max number of students, 4 by default")]
public ushort MaxStudentCount { get; } = 4;
public ushort MaxStudentCount { get; set; } = 4;


[Option("maxTrickerCount", Required = false, HelpText = "The max number of trickers, 1 by default")] [Option("maxTrickerCount", Required = false, HelpText = "The max number of trickers, 1 by default")]
public ushort MaxTrickerCount { get; } = 1;
public ushort MaxTrickerCount { get; set; } = 1;


[Option('g', "gameTimeInSecond", Required = false, HelpText = "The time of the game in second, 10 minutes by default")] [Option('g', "gameTimeInSecond", Required = false, HelpText = "The time of the game in second, 10 minutes by default")]
public uint GameTimeInSecond { get; set; } = 10 * 60; public uint GameTimeInSecond { get; set; } = 10 * 60;


Loading…
Cancel
Save