示例#1
0
        private void addFile(IPackageFile p, IPackedFileDescriptor pfd)
        {
            if (isInPFDList(currentPackage.Index, pfd) || p.FindExactFile(pfd) == null)
            {
                return;
            }

            IPackedFileDescriptor npfd = p.FindExactFile(pfd).Clone();

            npfd.UserData = p.Read(pfd).UncompressedData;
            currentPackage.Add(npfd, true);
        }