soniom.blogg.se

How to download stuff from steam workshop
How to download stuff from steam workshop




how to download stuff from steam workshop

RemoteStorageGetPublishedFileDetailsResult.Set(handle) īool ret = SteamRemoteStorage.FileDelete(filename) SteamAPICall_t handle = SteamRemoteStorage.GetPublishedFileDetails(publishedFileID, 0) / When done downloading, fetchedContent will be TRUE. / Gets the Item content (subscribed) to variable itemContent RemoteStorageEnumerateUserSubscribedFilesResult.Set(handle) SteamAPICall_t handle = SteamRemoteStorage.EnumerateUserSubscribedFiles(0) RemoteStorageUnsubscribePublishedFileResult = CallResult.Create(OnRemoteStorageUnsubscribePublishedFileResult) RemoteStorageDownloadUGCResult = CallResult.Create(OnRemoteStorageDownloadUGCResult) RemoteStorageGetPublishedFileDetailsResult = CallResult.Create(OnRemoteStorageGetPublishedFileDetailsResult)

how to download stuff from steam workshop

RemoteStorageEnumerateUserSubscribedFilesResult = CallResult.Create(OnRemoteStorageEnumerateUserSubscribedFilesResult) RemoteStoragePublishFileResult = CallResult.Create(OnRemoteStoragePublishFileResult) Private PublishedFileId_t publishedFileID Private CallResult RemoteStorageUnsubscribePublishedFileResult Private CallResult RemoteStorageDownloadUGCResult Private CallResult RemoteStorageGetPublishedFileDetailsResult Private CallResult RemoteStorageEnumerateUserSubscribedFilesResult Private CallResult RemoteStoragePublishFileResult Public class SteamWorkshop : MonoBehaviour / This class was created by Vitor Pêgas on Here’s the script I’m using in my game: using UnityEngine This script was made by me for my game AffordaGolf and it suits my needs, but each case is a case, so you might want to change some things.

how to download stuff from steam workshop

Check the itemContent property on the script.Call “GetItemContent(INDEX)” to download the contents of the INDEX item.Call “GetSubscribedItems” function in my script.Subscribe to the item you want to download.You can check the Workshop page, the item is there. This will upload the file to Steam cloud (I think it’s mandatory (it will delete afterwards)) Call the SaveToWorkshop function with the file details.The problem was that calls workshop stuff on the RemoteStorage part. Tried to directly ask developers, no answer either. I tried to search on google everything I could and no answers either. So I came across your question and seems like nobody knows the answer.






How to download stuff from steam workshop