Update PatchSystem

移除了WeaklyUpdatePatchManifestAsync()方法
新增了CheckPackageContentsAsync()方法
This commit is contained in:
hevinci
2022-11-04 13:10:08 +08:00
parent 44ec5b3de3
commit 72f0426531
7 changed files with 166 additions and 168 deletions

View File

@@ -62,11 +62,11 @@ namespace YooAsset
}
/// <summary>
/// 异步更新补丁清单(弱联网)
/// 检查本地包裹内容的完整性
/// </summary>
public UpdateManifestOperation WeaklyUpdatePatchManifestAsync(string packageName)
public CheckPackageContentsOperation CheckPackageContentsAsync(string packageName)
{
var operation = new HostPlayModeWeaklyUpdateManifestOperation(this, packageName);
var operation = new HostPlayModeCheckPackageContentsOperation(this, packageName);
OperationSystem.StartOperation(operation);
return operation;
}