Update UpdateManifestOperation

增加在弱联网环境下的更新支持
This commit is contained in:
hevinci
2022-06-28 20:13:32 +08:00
parent 727d841d47
commit 9ac07e94d1
3 changed files with 177 additions and 26 deletions

View File

@@ -56,6 +56,16 @@ namespace YooAsset
OperationSystem.StartOperaiton(operation);
return operation;
}
/// <summary>
/// 异步更新补丁清单(弱联网)
/// </summary>
public UpdateManifestOperation WeaklyUpdatePatchManifestAsync(int resourceVersion)
{
var operation = new HostPlayModeWeaklyUpdateManifestOperation(this, resourceVersion);
OperationSystem.StartOperaiton(operation);
return operation;
}
/// <summary>
/// 异步更新资源包裹