// bool // using: Detect_StringArray public bool UpdatePublishedFileTags(PublishedFileUpdateHandle_t updateHandle /*PublishedFileUpdateHandle_t*/, string[] pTags /*struct SteamParamStringArray_t **/) { // Create strings var nativeStrings = new IntPtr[pTags.Length]; for (int i = 0; i < pTags.Length; i++) { nativeStrings[i] = Marshal.StringToHGlobalAnsi(pTags[i]); } try { // Create string array var size = Marshal.SizeOf(typeof(IntPtr)) * nativeStrings.Length; var nativeArray = Marshal.AllocHGlobal(size); Marshal.Copy(nativeStrings, 0, nativeArray, nativeStrings.Length); // Create SteamParamStringArray_t var tags = new SteamParamStringArray_t(); tags.Strings = nativeArray; tags.NumStrings = pTags.Length; return(platform.ISteamRemoteStorage_UpdatePublishedFileTags(updateHandle.Value, ref tags)); } finally { foreach (var x in nativeStrings) { Marshal.FreeHGlobal(x); } } }
// SteamAPICall_t public CallbackHandle CommitPublishedFileUpdate(PublishedFileUpdateHandle_t updateHandle /*PublishedFileUpdateHandle_t*/, Action <RemoteStorageUpdatePublishedFileResult_t, bool> CallbackFunction = null /*Action<RemoteStorageUpdatePublishedFileResult_t, bool>*/) { SteamAPICall_t callback = 0; callback = platform.ISteamRemoteStorage_CommitPublishedFileUpdate(updateHandle.Value); if (CallbackFunction == null) { return(null); } return(RemoteStorageUpdatePublishedFileResult_t.CallResult(steamworks, callback, CallbackFunction)); }
// bool public bool UpdatePublishedFileVisibility(PublishedFileUpdateHandle_t updateHandle /*PublishedFileUpdateHandle_t*/, RemoteStoragePublishedFileVisibility eVisibility /*ERemoteStoragePublishedFileVisibility*/) { return(platform.ISteamRemoteStorage_UpdatePublishedFileVisibility(updateHandle.Value, eVisibility)); }
// bool public bool UpdatePublishedFileTitle(PublishedFileUpdateHandle_t updateHandle /*PublishedFileUpdateHandle_t*/, string pchTitle /*const char **/) { return(platform.ISteamRemoteStorage_UpdatePublishedFileTitle(updateHandle.Value, pchTitle)); }
// bool public bool UpdatePublishedFileSetChangeDescription(PublishedFileUpdateHandle_t updateHandle /*PublishedFileUpdateHandle_t*/, string pchChangeDescription /*const char **/) { return(platform.ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription(updateHandle.Value, pchChangeDescription)); }
// bool public bool UpdatePublishedFilePreviewFile(PublishedFileUpdateHandle_t updateHandle /*PublishedFileUpdateHandle_t*/, string pchPreviewFile /*const char **/) { return(platform.ISteamRemoteStorage_UpdatePublishedFilePreviewFile(updateHandle.Value, Utility.GetUtf8Bytes(pchPreviewFile))); }
// bool public bool UpdatePublishedFileDescription(PublishedFileUpdateHandle_t updateHandle /*PublishedFileUpdateHandle_t*/, string pchDescription /*const char **/) { return(platform.ISteamRemoteStorage_UpdatePublishedFileDescription(updateHandle.Value, Utility.GetUtf8Bytes(pchDescription))); }