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