Agent Tests for API, MAUI, and Slop Features
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
namespace Model.TechTree;
|
||||
|
||||
public static class TechTreeEdgeType
|
||||
{
|
||||
public static string Produces = "Produces";
|
||||
public static string ProducedAt = "ProducedAt";
|
||||
public static string RequiresProduction = "RequiresProduction";
|
||||
public static string RequiresResearch = "RequiresResearch";
|
||||
public static string Morph = "Morph";
|
||||
public static string Upgrades = "Upgrades";
|
||||
public static string UpgradedBy = "UpgradedBy";
|
||||
public static string VanguardReplaces = "VanguardReplaces";
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Model.TechTree;
|
||||
|
||||
public class TechTreeNodeModel
|
||||
{
|
||||
public string Id { get; set; } = "";
|
||||
public string Name { get; set; } = "";
|
||||
public string EntityType { get; set; } = "";
|
||||
public string Faction { get; set; } = "";
|
||||
public string Descriptive { get; set; } = "";
|
||||
public int Layer { get; set; }
|
||||
public float X { get; set; }
|
||||
public float Y { get; set; }
|
||||
}
|
||||
|
||||
public class TechTreeEdgeModel
|
||||
{
|
||||
public string SourceId { get; set; } = "";
|
||||
public string TargetId { get; set; } = "";
|
||||
public string EdgeType { get; set; } = "";
|
||||
}
|
||||
|
||||
public class TechTreeGraphModel
|
||||
{
|
||||
public List<TechTreeNodeModel> Nodes { get; set; } = new();
|
||||
public List<TechTreeEdgeModel> Edges { get; set; } = new();
|
||||
public Dictionary<string, List<string>> Unlocks { get; set; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user