Beispiel #1
0
        public bool AddMix(string filename, MixFileVersion mixver)
        {
            VFSHandle handle = this.Resolve(filename);

            if (handle != null)
            {
                this.folders.Add(new MixArchive(handle, mixver));
                return(true);
            }

            return(false);
        }
Beispiel #2
0
 public MixArchive(VFSHandle handle, MixFileVersion version)
 {
     this.handle  = handle;
     this.version = version;
     this.index   = this.ReadHeader(handle.Open(), out this.body_offset);
 }