mirror of
https://github.com/JuniorDark/RustyHearts-Launcher.git
synced 2026-05-07 05:21:44 -04:00
Add project files.
This commit is contained in:
commit
5d3b4542bf
120 changed files with 36258 additions and 0 deletions
27
RHLauncher.PCK/PCKFileNode.cs
Normal file
27
RHLauncher.PCK/PCKFileNode.cs
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue