Research tree parsing and view

This commit is contained in:
bird_egop
2026-02-15 23:44:20 +03:00
parent a8536f938d
commit 8091a727ba
17 changed files with 537 additions and 333 deletions
+20
View File
@@ -0,0 +1,20 @@
using ResTreeLib;
namespace NResUI.Models;
public class ResearchTreeViewModel
{
public bool HasFile { get; set; }
public string? Error { get; set; }
public List<ResearchNodeData>? ResearchNodeDatas { get; set; }
public string? Path { get; set; }
public void SetParseResult(List<ResearchNodeData> researchNodeDatas, string path)
{
ResearchNodeDatas = researchNodeDatas;
HasFile = true;
Path = path;
}
}