mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-28 03:28:47 +00:00
Update patch system
This commit is contained in:
@@ -63,6 +63,8 @@ namespace YooAsset
|
|||||||
|
|
||||||
internal void SendRequest(int failedTryAgain, int timeout)
|
internal void SendRequest(int failedTryAgain, int timeout)
|
||||||
{
|
{
|
||||||
|
_failedTryAgain = failedTryAgain;
|
||||||
|
_timeout = timeout;
|
||||||
}
|
}
|
||||||
internal void Update()
|
internal void Update()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -24,14 +24,6 @@ namespace YooAsset
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 获取内置资源标记列表
|
|
||||||
/// </summary>
|
|
||||||
public string[] GetManifestBuildinTags()
|
|
||||||
{
|
|
||||||
return new string[0];
|
|
||||||
}
|
|
||||||
|
|
||||||
#region IBundleServices接口
|
#region IBundleServices接口
|
||||||
AssetBundleInfo IBundleServices.GetAssetBundleInfo(string bundleName)
|
AssetBundleInfo IBundleServices.GetAssetBundleInfo(string bundleName)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -52,16 +52,6 @@ namespace YooAsset
|
|||||||
return LocalPatchManifest.ResourceVersion;
|
return LocalPatchManifest.ResourceVersion;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 获取内置资源标记列表
|
|
||||||
/// </summary>
|
|
||||||
public string[] GetManifestBuildinTags()
|
|
||||||
{
|
|
||||||
if (LocalPatchManifest == null)
|
|
||||||
return new string[0];
|
|
||||||
return LocalPatchManifest.GetBuildinTags();
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 创建下载器
|
/// 创建下载器
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -28,16 +28,6 @@ namespace YooAsset
|
|||||||
return AppPatchManifest.ResourceVersion;
|
return AppPatchManifest.ResourceVersion;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 获取内置资源标记列表
|
|
||||||
/// </summary>
|
|
||||||
public string[] GetManifestBuildinTags()
|
|
||||||
{
|
|
||||||
if (AppPatchManifest == null)
|
|
||||||
return new string[0];
|
|
||||||
return AppPatchManifest.GetBuildinTags();
|
|
||||||
}
|
|
||||||
|
|
||||||
#region IBundleServices接口
|
#region IBundleServices接口
|
||||||
AssetBundleInfo IBundleServices.GetAssetBundleInfo(string bundleName)
|
AssetBundleInfo IBundleServices.GetAssetBundleInfo(string bundleName)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user