RustyHearts-Launcher/RHLauncher.PCK/PCKFile.cs
2023-05-12 17:19:21 -03:00

29 lines
698 B
C#

namespace RHLauncher.PCK
{
public class PCKFile
{
public string Name { get; private set; }
public byte Archive { get; private set; }
public int FileSize { get; private set; }
public uint Hash { get; private set; }
public long Offset { get; private set; }
public bool IsChecked { get; set; }
public string[] PathElements { get { return Name.Split(new char[] { '\\' }); } }
public PCKFile(string name, byte archive, int size, uint hash, long offset)
{
Name = name;
Archive = archive;
FileSize = size;
Hash = hash;
Offset = offset;
}
}
}