Steamworks.SteamRemoteStorage.GetUGCDownloadProgress C# (CSharp) Method

GetUGCDownloadProgress() public static method

Gets the amount of data downloaded so far for a piece of content. pnBytesExpected can be 0 if function returns false

or if the transfer hasn't started yet, so be careful to check for that before dividing to get a percentage

public static GetUGCDownloadProgress ( UGCHandle_t hContent, int &pnBytesDownloaded, int &pnBytesExpected ) : bool
hContent UGCHandle_t
pnBytesDownloaded int
pnBytesExpected int
return bool
		public static bool GetUGCDownloadProgress(UGCHandle_t hContent, out int pnBytesDownloaded, out int pnBytesExpected) {
			InteropHelp.TestIfAvailableClient();
			return NativeMethods.ISteamRemoteStorage_GetUGCDownloadProgress(hContent, out pnBytesDownloaded, out pnBytesExpected);
		}