public override byte[] FindFileRelative(string Path)
 {
     Path = Path.Replace("\\", "/");
     if (Path.TrimStart('/').StartsWith("../"))
     {
         return(null);
     }
     return(File.Parent.GetFileByID((int)SARC.GetHashFromName(Path, 0x65)).Data);
 }
Ejemplo n.º 2
0
 public SAHTEntry(String Name)
 {
     this.Name = Name;
     Hash      = SARC.GetHashFromName(Name, 0x65);
 }