private void CreateItem() { this.bIsUploading = true; m_CreateItemResult = CallResult <CreateItemResult_t> .Create(OnCreateItem); EWorkshopFileType eFileType = EWorkshopFileType.k_EWorkshopFileTypeCommunity; if (this.tabControl.SelectedTab == this.workshopTypeItem) { eFileType = EWorkshopFileType.k_EWorkshopFileTypeMicrotransaction; } SteamAPICall_t callHandle = SteamUGC.CreateItem((AppId_t)252950, eFileType); m_CreateItemResult.Set(callHandle); this.btnSendContentButton.Text = "Creating Item..."; }
/// <summary> /// <para> Steam Workshop Creator API</para> /// <para> create new item for this app with no content attached yet</para> /// </summary> public static SteamAPICall_t CreateItem(AppId_t nConsumerAppId, EWorkshopFileType eFileType) { InteropHelp.TestIfAvailableGameServer(); return((SteamAPICall_t)NativeMethods.ISteamUGC_CreateItem(CSteamGameServerAPIContext.GetSteamUGC(), nConsumerAppId, eFileType)); }
/// <summary> /// <para> Steam Workshop Creator API</para> /// <para> create new item for this app with no content attached yet</para> /// </summary> public static SteamAPICall_t CreateItem(AppId_t nConsumerAppId, EWorkshopFileType eFileType) { InteropHelp.TestIfAvailableGameServer(); return (SteamAPICall_t)NativeMethods.ISteamGameServerUGC_CreateItem(nConsumerAppId, eFileType); }
// publishing UGC public static SteamAPICall_t PublishWorkshopFile(string pchFile, string pchPreviewFile, AppId_t nConsumerAppId, string pchTitle, string pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, System.Collections.Generic.IList<string> pTags, EWorkshopFileType eWorkshopFileType) { InteropHelp.TestIfAvailableClient(); return (SteamAPICall_t)NativeMethods.ISteamRemoteStorage_PublishWorkshopFile(pchFile, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, new InteropHelp.SteamParamStringArray(pTags), eWorkshopFileType); }
public static extern ulong ISteamGameServerUGC_CreateItem(AppId_t nConsumerAppId, EWorkshopFileType eFileType);
public static extern ulong ISteamRemoteStorage_PublishWorkshopFile(InteropHelp.UTF8StringHandle pchFile, InteropHelp.UTF8StringHandle pchPreviewFile, AppId_t nConsumerAppId, InteropHelp.UTF8StringHandle pchTitle, InteropHelp.UTF8StringHandle pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, IntPtr pTags, EWorkshopFileType eWorkshopFileType);
/// <summary> /// <para> Steam Workshop Creator API</para> /// <para> create new item for this app with no content attached yet</para> /// </summary> public static SteamAPICall_t CreateItem(AppId_t nConsumerAppId, EWorkshopFileType eFileType) { InteropHelp.TestIfAvailableClient(); return((SteamAPICall_t)NativeMethods.ISteamUGC_CreateItem(nConsumerAppId, eFileType)); }
public bool GetSubscribedItemInfo(UInt32 arg0, UInt64 arg1, StringBuilder arg2, Int32 arg3, StringBuilder arg4, Int32 arg5, ref EWorkshopFileType arg6, ref bool arg7, StringBuilder arg8, Int32 arg9, ref UInt64 arg10) { return(this.GetFunction <NativeGetSubscribedItemInfoUUSISIEBSIU>(this.Functions.GetSubscribedItemInfo31)(this.ObjectAddress, arg0, arg1, arg2, arg3, arg4, arg5, ref arg6, ref arg7, arg8, arg9, ref arg10)); }
public static SteamAPICall_t PublishWorkshopFile(string pchFile, string pchPreviewFile, AppId_t nConsumerAppId, string pchTitle, string pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, IList <string> pTags, EWorkshopFileType eWorkshopFileType) { InteropHelp.TestIfAvailableClient(); SteamAPICall_t result; using (InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchFile)) { using (InteropHelp.UTF8StringHandle utf8StringHandle2 = new InteropHelp.UTF8StringHandle(pchPreviewFile)) { using (InteropHelp.UTF8StringHandle utf8StringHandle3 = new InteropHelp.UTF8StringHandle(pchTitle)) { using (InteropHelp.UTF8StringHandle utf8StringHandle4 = new InteropHelp.UTF8StringHandle(pchDescription)) { result = (SteamAPICall_t)NativeMethods.ISteamRemoteStorage_PublishWorkshopFile(utf8StringHandle, utf8StringHandle2, nConsumerAppId, utf8StringHandle3, utf8StringHandle4, eVisibility, new InteropHelp.SteamParamStringArray(pTags), eWorkshopFileType); } } } } return(result); }
/// Steam Workshop Creator API /// create new item for this app with no content attached yet public static SteamAPICall_t CreateItem(AppId_t nConsumerAppId, EWorkshopFileType eFileType) { return((SteamAPICall_t)0); }
public UInt64 PublishFile(UInt32 nAppId, ERemoteStorageFileRoot eRemoteStorageFileRoot, string cszFileName, string cszPreviewFileName, UInt32 nConsumerAppId, string cszTitle, string cszDescription, ERemoteStoragePublishedFileVisibility eVisibility, ref SteamParamStringArray_t pTags, EWorkshopFileType eType) { return(this.GetFunction <NativePublishFileUESSUSSESE>(this.Functions.PublishFile28)(this.ObjectAddress, nAppId, eRemoteStorageFileRoot, cszFileName, cszPreviewFileName, nConsumerAppId, cszTitle, cszDescription, eVisibility, ref pTags, eType)); }
// Token: 0x0600092B RID: 2347 RVA: 0x00005F56 File Offset: 0x00004156 public static SteamAPICall_t PublishWorkshopFile(string pchFile, string pchPreviewFile, AppId_t nConsumerAppId, string pchTitle, string pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, IList <string> pTags, EWorkshopFileType eWorkshopFileType) { InteropHelp.TestIfAvailableClient(); return((SteamAPICall_t)NativeMethods.ISteamRemoteStorage_PublishWorkshopFile(pchFile, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, new InteropHelp.SteamParamStringArray(pTags), eWorkshopFileType)); }
/// publishing UGC public static SteamAPICall_t PublishWorkshopFile(string pchFile, string pchPreviewFile, AppId_t nConsumerAppId, string pchTitle, string pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, System.Collections.Generic.IList <string> pTags, EWorkshopFileType eWorkshopFileType) { return((SteamAPICall_t)0); }
public UInt64 CreateItem(UInt32 nConsumerAppId, EWorkshopFileType eFileType) { return(this.GetFunction <NativeCreateItemUE>(this.Functions.CreateItem15)(this.ObjectAddress, nConsumerAppId, eFileType)); }
public static SteamAPICall_t PublishWorkshopFile(string pchFile, string pchPreviewFile, AppId_t nConsumerAppId, string pchTitle, string pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, IList<string> pTags, EWorkshopFileType eWorkshopFileType) { InteropHelp.TestIfAvailableClient(); SteamAPICall_t result; using (InteropHelp.UTF8StringHandle uTF8StringHandle = new InteropHelp.UTF8StringHandle(pchFile)) { using (InteropHelp.UTF8StringHandle uTF8StringHandle2 = new InteropHelp.UTF8StringHandle(pchPreviewFile)) { using (InteropHelp.UTF8StringHandle uTF8StringHandle3 = new InteropHelp.UTF8StringHandle(pchTitle)) { using (InteropHelp.UTF8StringHandle uTF8StringHandle4 = new InteropHelp.UTF8StringHandle(pchDescription)) { result = (SteamAPICall_t)NativeMethods.ISteamRemoteStorage_PublishWorkshopFile(uTF8StringHandle, uTF8StringHandle2, nConsumerAppId, uTF8StringHandle3, uTF8StringHandle4, eVisibility, new InteropHelp.SteamParamStringArray(pTags), eWorkshopFileType); } } } } return result; }
public UInt64 PublishWorkshopFile(string pchFile, string pchPreviewFile, UInt32 nConsumerAppId, string pchTitle, string pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, ref SteamParamStringArray_t pTags, EWorkshopFileType eWorkshopFileType) { return(this.GetFunction <NativePublishWorkshopFileSSUSSESE>(this.Functions.PublishWorkshopFile27)(this.ObjectAddress, pchFile, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags, eWorkshopFileType)); }
/// <summary> /// <para> publishing UGC</para> /// </summary> public static SteamAPICall_t PublishWorkshopFile(string pchFile, string pchPreviewFile, AppId_t nConsumerAppId, string pchTitle, string pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, System.Collections.Generic.IList <string> pTags, EWorkshopFileType eWorkshopFileType) { InteropHelp.TestIfAvailableClient(); using (var pchFile2 = new InteropHelp.UTF8StringHandle(pchFile)) using (var pchPreviewFile2 = new InteropHelp.UTF8StringHandle(pchPreviewFile)) using (var pchTitle2 = new InteropHelp.UTF8StringHandle(pchTitle)) using (var pchDescription2 = new InteropHelp.UTF8StringHandle(pchDescription)) { return((SteamAPICall_t)NativeMethods.ISteamRemoteStorage_PublishWorkshopFile(CSteamAPIContext.GetSteamRemoteStorage(), pchFile2, pchPreviewFile2, nConsumerAppId, pchTitle2, pchDescription2, eVisibility, new InteropHelp.SteamParamStringArray(pTags), eWorkshopFileType)); } }
public UInt64 CreateItem(UInt32 arg0, EWorkshopFileType arg1) { return(this.GetFunction <NativeCreateItemUE>(this.Functions.CreateItem15)(this.ObjectAddress, arg0, arg1)); }