upd: sync local changes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
iisaevandClaude Opus 5.5 committed 2026-10-16 16:18:22 +00:00
1 parent 03ee4dbc8f
commit e9b9205514
39 files changed
+84 -12

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ using System.Linq;
using System.Text.Json;
using Cthangover.Core.Mods;
using Cthangover.Core.Mods.Providers;
using Cthangover.Core.UI.Tool;
using Cthangover.Mods.Map;
using Cthangover.Core.Utils;
namespace Cthangover.Tools.Services
+2
View File
@@ -1,4 +1,5 @@
using System;
using Cthangover.Mods.Dialog.Scenarios;
using System.Collections.Generic;
using System.IO;
using System.Linq;
@@ -288,6 +289,7 @@ namespace Cthangover.Tools.Services
return "mods/" + modId + "/" + relativePath;
}
/// <summary>Scans every mod's scenarios and builds the cross-scene graph (nodes per scene, edges per switch target).</summary>
public static SceneGraphData BuildSceneGraph()
{
var data = new SceneGraphData();
+4
View File
@@ -2,6 +2,7 @@ using System.Collections.Generic;
namespace Cthangover.Tools.Services
{
/// <summary>One scenario attached to a scene node (shown on the graph node and in its detail links).</summary>
public sealed class ScenarioGraphLink
{
public string Name { get; set; }
@@ -9,6 +10,7 @@ namespace Cthangover.Tools.Services
public string Key { get; set; }
}
/// <summary>One scene of the cross-scenario graph: owning mod, background list, start-scene flag and its scenarios.</summary>
public sealed class SceneGraphNode
{
public string SceneName { get; set; }
@@ -20,12 +22,14 @@ namespace Cthangover.Tools.Services
public bool HasErrors { get; set; }
}
/// <summary>Directed switch-target link between two scenes of the graph.</summary>
public sealed class SceneGraphEdge
{
public string FromScene { get; set; }
public string ToScene { get; set; }
}
/// <summary>Complete graph model consumed by <c>ScenarioGraphView</c>.</summary>
public sealed class SceneGraphData
{
public List<SceneGraphNode> Nodes { get; set; } = new();
+1
View File
@@ -1,4 +1,5 @@
using System.Collections.Generic;
using Cthangover.Mods.Dialog.Scenarios;
using Cthangover.Core.Scenarios;
using Cthangover.Core.Factories.Impls;
using Cthangover.Core.UI.Theming;