using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; namespace Steamworks.Data { /// /// Represents download progress. /// public struct DownloadProgress { /// /// Whether or not the download is currently active. /// public bool Active; /// /// How many bytes have been downloaded. /// public ulong BytesDownloaded; /// /// How many bytes in total the download is. /// public ulong BytesTotal; /// /// Gets the amount of bytes left that need to be downloaded. /// public ulong BytesRemaining => BytesTotal - BytesDownloaded; } }