Commit pending working-tree changes (local edits, line endings)
This commit is contained in:
1 parent
bd9147e1b6
commit
5f3f4b0d82
1 file changed
+38
-38
@@ -1,38 +1,38 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Cthangover.Tools.Services
|
namespace Cthangover.Tools.Services
|
||||||
{
|
{
|
||||||
/// <summary>One scenario attached to a scene node (shown on the graph node and in its detail links).</summary>
|
/// <summary>One scenario attached to a scene node (shown on the graph node and in its detail links).</summary>
|
||||||
public sealed class ScenarioGraphLink
|
public sealed class ScenarioGraphLink
|
||||||
{
|
{
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public int Priority { get; set; }
|
public int Priority { get; set; }
|
||||||
public string Key { get; set; }
|
public string Key { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>One scene of the cross-scenario graph: owning mod, background list, start-scene flag and its scenarios.</summary>
|
/// <summary>One scene of the cross-scenario graph: owning mod, background list, start-scene flag and its scenarios.</summary>
|
||||||
public sealed class SceneGraphNode
|
public sealed class SceneGraphNode
|
||||||
{
|
{
|
||||||
public string SceneName { get; set; }
|
public string SceneName { get; set; }
|
||||||
public string ModId { get; set; }
|
public string ModId { get; set; }
|
||||||
public int ScenarioCount { get; set; }
|
public int ScenarioCount { get; set; }
|
||||||
public List<string> Backgrounds { get; set; } = new();
|
public List<string> Backgrounds { get; set; } = new();
|
||||||
public bool IsStartScene { get; set; }
|
public bool IsStartScene { get; set; }
|
||||||
public List<ScenarioGraphLink> Scenarios { get; set; } = new();
|
public List<ScenarioGraphLink> Scenarios { get; set; } = new();
|
||||||
public bool HasErrors { get; set; }
|
public bool HasErrors { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Directed switch-target link between two scenes of the graph.</summary>
|
/// <summary>Directed switch-target link between two scenes of the graph.</summary>
|
||||||
public sealed class SceneGraphEdge
|
public sealed class SceneGraphEdge
|
||||||
{
|
{
|
||||||
public string FromScene { get; set; }
|
public string FromScene { get; set; }
|
||||||
public string ToScene { get; set; }
|
public string ToScene { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Complete graph model consumed by <c>ScenarioGraphView</c>.</summary>
|
/// <summary>Complete graph model consumed by <c>ScenarioGraphView</c>.</summary>
|
||||||
public sealed class SceneGraphData
|
public sealed class SceneGraphData
|
||||||
{
|
{
|
||||||
public List<SceneGraphNode> Nodes { get; set; } = new();
|
public List<SceneGraphNode> Nodes { get; set; } = new();
|
||||||
public List<SceneGraphEdge> Edges { get; set; } = new();
|
public List<SceneGraphEdge> Edges { get; set; } = new();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user