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); }
public MixArchive(VFSHandle handle, MixFileVersion version) { this.handle = handle; this.version = version; this.index = this.ReadHeader(handle.Open(), out this.body_offset); }