Unstable 1.1.14.0
This commit is contained in:
@@ -6,10 +6,29 @@ using System.Text;
|
||||
|
||||
namespace Steamworks.Data
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents download progress.
|
||||
/// </summary>
|
||||
public struct DownloadProgress
|
||||
{
|
||||
/// <summary>
|
||||
/// Whether or not the download is currently active.
|
||||
/// </summary>
|
||||
public bool Active;
|
||||
|
||||
/// <summary>
|
||||
/// How many bytes have been downloaded.
|
||||
/// </summary>
|
||||
public ulong BytesDownloaded;
|
||||
|
||||
/// <summary>
|
||||
/// How many bytes in total the download is.
|
||||
/// </summary>
|
||||
public ulong BytesTotal;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the amount of bytes left that need to be downloaded.
|
||||
/// </summary>
|
||||
public ulong BytesRemaining => BytesTotal - BytesDownloaded;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user