public sFolder Unpack(sFile file) { if (file.name.ToUpper().EndsWith(".DPK")) { return(DPK.Unpack(file.path, pluginHost)); } return(new sFolder()); }
public string Pack(ref sFolder unpacked, sFile file) { if (file.name.ToUpper().EndsWith(".DPK")) { return(DPK.Pack(ref unpacked, file.path, file.id)); } return(null); }