기초
This commit is contained in:
@@ -431,6 +431,8 @@ internal sealed class CatalogEventHandler : KAEventHandler
|
||||
|
||||
internal sealed class CatalogOptions
|
||||
{
|
||||
private const string FixedT3CutPath = @"D:\Elect2026\T3_Cut";
|
||||
|
||||
public string Host { get; private set; }
|
||||
public int Port { get; private set; }
|
||||
public TimeSpan Timeout { get; private set; }
|
||||
@@ -444,11 +446,7 @@ internal sealed class CatalogOptions
|
||||
Host = "127.0.0.1";
|
||||
Port = 30001;
|
||||
Timeout = TimeSpan.FromSeconds(5);
|
||||
RootPath = Path.Combine(
|
||||
Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments),
|
||||
"Tornado3 Data",
|
||||
"T3_Cut",
|
||||
"T3_Cut");
|
||||
RootPath = FixedT3CutPath;
|
||||
OutputPath = Path.Combine(Environment.CurrentDirectory, "SCENE_OBJECT_CATALOG.md");
|
||||
SceneFilter = string.Empty;
|
||||
MaxScenes = 0;
|
||||
@@ -474,7 +472,7 @@ internal sealed class CatalogOptions
|
||||
index++;
|
||||
break;
|
||||
case "--root" when index + 1 < args.Length:
|
||||
options.RootPath = Path.GetFullPath(args[++index]);
|
||||
index++;
|
||||
break;
|
||||
case "--output" when index + 1 < args.Length:
|
||||
options.OutputPath = Path.GetFullPath(args[++index]);
|
||||
|
||||
Reference in New Issue
Block a user