public static fpkParser OpenFPK([DefaultVar] string path) { fpkDirFormat format = fpkDirFormat.GetFormat(path); if (format == null) { throw new Exception("Couldn't auto-detect the format of " + path); } return(new fpkParser(path, format)); }
public fpkParser(string path, fpkDirFormat dirFormat) { this.FilePath = path; this.DirFormat = dirFormat; this.Subfiles = DirFormat.ReadDirectory(path); }
public fpkParser(string path, fpkDirFormat dirFormat) { this.FilePath = path; this.DirFormat = dirFormat; this.Subfiles = DirFormat.ReadDirectory(path); }