mirror of
https://github.com/JuniorDark/RustyHearts-Launcher.git
synced 2026-05-07 13:31:45 -04:00
29 lines
698 B
C#
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;
|
|
}
|
|
|
|
}
|
|
}
|