예제 #1
0
파일: fpk.cs 프로젝트: kkdevs/sb3u
        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));
        }
예제 #2
0
파일: fpkParser.cs 프로젝트: kkdevs/sb3u
 public fpkParser(string path, fpkDirFormat dirFormat)
 {
     this.FilePath  = path;
     this.DirFormat = dirFormat;
     this.Subfiles  = DirFormat.ReadDirectory(path);
 }
예제 #3
0
 public fpkParser(string path, fpkDirFormat dirFormat)
 {
     this.FilePath = path;
     this.DirFormat = dirFormat;
     this.Subfiles = DirFormat.ReadDirectory(path);
 }