From c9cc09cbed9d7f4f664e40f015ec13ae7673d8c3 Mon Sep 17 00:00:00 2001 From: hevinci Date: Fri, 26 Apr 2024 16:05:37 +0800 Subject: [PATCH] fix #289 --- .../DownloadSystem/Requester/IWebRequester.cs | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Assets/YooAsset/Runtime/DownloadSystem/Requester/IWebRequester.cs b/Assets/YooAsset/Runtime/DownloadSystem/Requester/IWebRequester.cs index 65a9558..1feeee4 100644 --- a/Assets/YooAsset/Runtime/DownloadSystem/Requester/IWebRequester.cs +++ b/Assets/YooAsset/Runtime/DownloadSystem/Requester/IWebRequester.cs @@ -14,52 +14,52 @@ namespace YooAsset /// /// 任务状态 /// - public ERequestStatus Status { get; } + ERequestStatus Status { get; } /// /// 下载进度(0f~1f) /// - public float DownloadProgress { get; } + float DownloadProgress { get; } /// /// 已经下载的总字节数 /// - public ulong DownloadedBytes { get; } + ulong DownloadedBytes { get; } /// /// 返回的网络错误 /// - public string RequestNetError { get; } + string RequestNetError { get; } /// /// 返回的HTTP CODE /// - public long RequestHttpCode { get; } + long RequestHttpCode { get; } /// /// 创建任务 /// - public void Create(string url, BundleInfo bundleInfo, params object[] args); + void Create(string url, BundleInfo bundleInfo, params object[] args); /// /// 更新任务 /// - public void Update(); + void Update(); /// /// 终止任务 /// - public void Abort(); + void Abort(); /// /// 是否已经完成(无论成功或失败) /// - public bool IsDone(); + bool IsDone(); /// /// 获取请求的对象 /// - public object GetRequestObject(); + object GetRequestObject(); } } \ No newline at end of file