mirror of https://github.com/tuyoogame/YooAsset
Update AssetBundleBuilder
parent
b5be5b60da
commit
aba68f859f
|
@ -33,11 +33,6 @@ namespace YooAsset.Editor
|
|||
/// </summary>
|
||||
public string FileName;
|
||||
|
||||
/// <summary>
|
||||
/// 内容哈希值
|
||||
/// </summary>
|
||||
public string ContentHash;
|
||||
|
||||
/// <summary>
|
||||
/// 文件哈希值
|
||||
/// </summary>
|
||||
|
|
|
@ -74,7 +74,6 @@ namespace YooAsset.Editor
|
|||
foreach (var bundleInfo in buildMapContext.BundleInfos)
|
||||
{
|
||||
var bundleName = bundleInfo.BundleName;
|
||||
string contentHash = bundleInfo.ContentHash;
|
||||
string fileHash = bundleInfo.FileHash;
|
||||
string fileCRC = bundleInfo.FileCRC;
|
||||
long fileSize = bundleInfo.FileSize;
|
||||
|
@ -83,7 +82,7 @@ namespace YooAsset.Editor
|
|||
bool isBuildin = IsBuildinBundle(tags, buildinTags);
|
||||
bool isRawFile = bundleInfo.IsRawFile;
|
||||
|
||||
PatchBundle patchBundle = new PatchBundle(bundleName, contentHash, fileHash, fileCRC, fileSize, tags);
|
||||
PatchBundle patchBundle = new PatchBundle(bundleName, fileHash, fileCRC, fileSize, tags);
|
||||
patchBundle.SetFlagsValue(isEncrypted, isBuildin, isRawFile);
|
||||
result.Add(patchBundle);
|
||||
}
|
||||
|
|
|
@ -94,7 +94,6 @@ namespace YooAsset.Editor
|
|||
ReportBundleInfo reportBundleInfo = new ReportBundleInfo();
|
||||
reportBundleInfo.BundleName = patchBundle.BundleName;
|
||||
reportBundleInfo.FileName = patchBundle.FileName;
|
||||
reportBundleInfo.ContentHash = patchBundle.ContentHash;
|
||||
reportBundleInfo.FileHash = patchBundle.FileHash;
|
||||
reportBundleInfo.FileCRC = patchBundle.FileCRC;
|
||||
reportBundleInfo.FileSize = patchBundle.FileSize;
|
||||
|
|
Loading…
Reference in New Issue