mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2026-08-15 02:57:49 +04:00
Research tree parsing and view
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user