Update download system

增加SetDownloadSystemClearFileResponseCode()新方法
This commit is contained in:
hevinci
2022-10-19 18:18:32 +08:00
parent 958cdd25a5
commit 0a1c40cee5
3 changed files with 31 additions and 5 deletions
@@ -16,10 +16,15 @@ namespace YooAsset
private static readonly List<string> _removeList = new List<string>(100);
/// <summary>
/// 启用断点续传的文件大小
/// 启用断点续传功能文件的最小字节数
/// </summary>
public static int BreakpointResumeFileSize { set; get; } = int.MaxValue;
/// <summary>
/// 下载失败后清理文件的HTTP错误码
/// </summary>
public static List<long> ClearFileResponseCodes { set; get; }
/// <summary>
/// 更新所有下载器
/// </summary>