Steamworks.SteamUGC.DownloadItem C# (CSharp) Méthode

DownloadItem() public static méthode

download new or update already installed item. If function returns true, wait for DownloadItemResult_t. If the item is already installed,

then files on disk should not be used until callback received. If item is not subscribed to, it will be cached for some time.

If bHighPriority is set, any other item download will be suspended and this item downloaded ASAP.

public static DownloadItem ( PublishedFileId_t nPublishedFileID, bool bHighPriority ) : bool
nPublishedFileID PublishedFileId_t
bHighPriority bool
Résultat bool
		public static bool DownloadItem(PublishedFileId_t nPublishedFileID, bool bHighPriority) {
			InteropHelp.TestIfAvailableClient();
			return NativeMethods.ISteamUGC_DownloadItem(nPublishedFileID, bHighPriority);
		}