mirror of
https://github.com/JuniorDark/RustyHearts-Launcher.git
synced 2026-05-07 05:21:44 -04:00
27 lines
698 B
C#
27 lines
698 B
C#
namespace RHLauncher.PCK
|
|
{
|
|
public class PCKFileNode
|
|
{
|
|
public string Name { get; private set; }
|
|
public PCKFile PCKFile { get; set; }
|
|
public bool IsDir { get { return PCKFile == null; } }
|
|
public SortedDictionary<string, PCKFileNode> Nodes { get; set; }
|
|
|
|
private bool isChecked;
|
|
public bool IsChecked
|
|
{
|
|
get { return isChecked; }
|
|
set
|
|
{
|
|
isChecked = value;
|
|
if (PCKFile != null) PCKFile.IsChecked = isChecked;
|
|
}
|
|
}
|
|
|
|
public PCKFileNode(string name, PCKFile file)
|
|
{
|
|
Name = name;
|
|
PCKFile = file;
|
|
}
|
|
}
|
|
}
|