2025-04-21 21:14:23 +08:00

32 lines
694 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace YooAsset
{
public struct DownloadStatus
{
/// <summary>
/// 下载是否已经完成
/// </summary>
public bool IsDone;
/// <summary>
/// 下载进度0-1f)
/// </summary>
public float Progress;
/// <summary>
/// 下载文件的总大小
/// </summary>
public long TotalBytes;
/// <summary>
/// 已经下载的文件大小
/// </summary>
public long DownloadedBytes;
public static DownloadStatus CreateDefaultStatus()
{
DownloadStatus status = new DownloadStatus();
return status;
}
}
}