Example #1
0
 /// <summary>
 /// <para> change the metadata of an UGC item (max = DeveloperMetadataMax)</para>
 /// </summary>
 public static bool SetItemMetadata(UGCUpdateHandle handle, string metaData)
 {
     InteropHelp.TestIfAvailableClient();
     using (var metaData2 = new InteropHelp.UTF8StringHandle(metaData)) {
         return(NativeMethods.ISteamUGC_SetItemMetadata(handle, metaData2));
     }
 }
Example #2
0
 /// <summary>
 /// <para> specify the language of the title or description that will be set</para>
 /// </summary>
 public static bool SetItemUpdateLanguage(UGCUpdateHandle handle, string language)
 {
     InteropHelp.TestIfAvailableClient();
     using (var language2 = new InteropHelp.UTF8StringHandle(language)) {
         return(NativeMethods.ISteamUGC_SetItemUpdateLanguage(handle, language2));
     }
 }
 /// <summary>
 /// <para> specify the language of the title or description that will be set</para>
 /// </summary>
 public static bool SetItemUpdateLanguage(UGCUpdateHandle handle, string Language)
 {
     InteropHelp.TestIfAvailableGameServer();
     using (var Language2 = new InteropHelp.UTF8StringHandle(Language)) {
         return(NativeMethods.ISteamGameServerUGC_SetItemUpdateLanguage(handle, Language2));
     }
 }
Example #4
0
 /// <summary>
 /// <para> change the title of an UGC item</para>
 /// </summary>
 public static bool SetItemTitle(UGCUpdateHandle handle, string title)
 {
     InteropHelp.TestIfAvailableClient();
     using (var title2 = new InteropHelp.UTF8StringHandle(title)) {
         return(NativeMethods.ISteamUGC_SetItemTitle(handle, title2));
     }
 }
 /// <summary>
 /// <para> commit update process started with StartItemUpdate()</para>
 /// </summary>
 public static SteamAPICall SubmitItemUpdate(UGCUpdateHandle handle, string ChangeNote)
 {
     InteropHelp.TestIfAvailableGameServer();
     using (var ChangeNote2 = new InteropHelp.UTF8StringHandle(ChangeNote)) {
         return((SteamAPICall)NativeMethods.ISteamGameServerUGC_SubmitItemUpdate(handle, ChangeNote2));
     }
 }
 /// <summary>
 /// <para> remove any existing key-value tags with the specified key</para>
 /// </summary>
 public static bool RemoveItemKeyValueTags(UGCUpdateHandle handle, string Key)
 {
     InteropHelp.TestIfAvailableGameServer();
     using (var Key2 = new InteropHelp.UTF8StringHandle(Key)) {
         return(NativeMethods.ISteamGameServerUGC_RemoveItemKeyValueTags(handle, Key2));
     }
 }
 /// <summary>
 /// <para> update item content from this local folder</para>
 /// </summary>
 public static bool SetItemContent(UGCUpdateHandle handle, string pszContentFolder)
 {
     InteropHelp.TestIfAvailableGameServer();
     using (var pszContentFolder2 = new InteropHelp.UTF8StringHandle(pszContentFolder)) {
         return(NativeMethods.ISteamGameServerUGC_SetItemContent(handle, pszContentFolder2));
     }
 }
 /// <summary>
 /// <para>  change preview image file for this item. pszPreviewFile points to local image file, which must be under 1MB in size</para>
 /// </summary>
 public static bool SetItemPreview(UGCUpdateHandle handle, string pszPreviewFile)
 {
     InteropHelp.TestIfAvailableGameServer();
     using (var pszPreviewFile2 = new InteropHelp.UTF8StringHandle(pszPreviewFile)) {
         return(NativeMethods.ISteamGameServerUGC_SetItemPreview(handle, pszPreviewFile2));
     }
 }
Example #9
0
 /// <summary>
 /// <para> change the description of an UGC item</para>
 /// </summary>
 public static bool SetItemDescription(UGCUpdateHandle handle, string description)
 {
     InteropHelp.TestIfAvailableClient();
     using (var description2 = new InteropHelp.UTF8StringHandle(description)) {
         return(NativeMethods.ISteamUGC_SetItemDescription(handle, description2));
     }
 }
 /// <summary>
 /// <para> change the metadata of an UGC item (max = DeveloperMetadataMax)</para>
 /// </summary>
 public static bool SetItemMetadata(UGCUpdateHandle handle, string MetaData)
 {
     InteropHelp.TestIfAvailableGameServer();
     using (var MetaData2 = new InteropHelp.UTF8StringHandle(MetaData)) {
         return(NativeMethods.ISteamGameServerUGC_SetItemMetadata(handle, MetaData2));
     }
 }
 /// <summary>
 /// <para> change the description of an UGC item</para>
 /// </summary>
 public static bool SetItemDescription(UGCUpdateHandle handle, string Description)
 {
     InteropHelp.TestIfAvailableGameServer();
     using (var Description2 = new InteropHelp.UTF8StringHandle(Description)) {
         return(NativeMethods.ISteamGameServerUGC_SetItemDescription(handle, Description2));
     }
 }
Example #12
0
 /// <summary>
 /// <para> commit update process started with StartItemUpdate()</para>
 /// </summary>
 public static SteamAPICall SubmitItemUpdate(UGCUpdateHandle handle, string changeNote)
 {
     InteropHelp.TestIfAvailableClient();
     using (var changeNote2 = new InteropHelp.UTF8StringHandle(changeNote)) {
         return((SteamAPICall)NativeMethods.ISteamUGC_SubmitItemUpdate(handle, changeNote2));
     }
 }
Example #13
0
 /// <summary>
 /// <para> remove any existing key-value tags with the specified key</para>
 /// </summary>
 public static bool RemoveItemKeyValueTags(UGCUpdateHandle handle, string key)
 {
     InteropHelp.TestIfAvailableClient();
     using (var key2 = new InteropHelp.UTF8StringHandle(key)) {
         return(NativeMethods.ISteamUGC_RemoveItemKeyValueTags(handle, key2));
     }
 }
 /// <summary>
 /// <para> add new key-value tags for the item. Note that there can be multiple values for a tag.</para>
 /// </summary>
 public static bool AddItemKeyValueTag(UGCUpdateHandle handle, string Key, string Value)
 {
     InteropHelp.TestIfAvailableGameServer();
     using (var Key2 = new InteropHelp.UTF8StringHandle(Key))
         using (var Value2 = new InteropHelp.UTF8StringHandle(Value)) {
             return(NativeMethods.ISteamGameServerUGC_AddItemKeyValueTag(handle, Key2, Value2));
         }
 }
Example #15
0
 /// <summary>
 /// <para> add new key-value tags for the item. Note that there can be multiple values for a tag.</para>
 /// </summary>
 public static bool AddItemKeyValueTag(UGCUpdateHandle handle, string key, string value)
 {
     InteropHelp.TestIfAvailableClient();
     using (var key2 = new InteropHelp.UTF8StringHandle(key))
         using (var value2 = new InteropHelp.UTF8StringHandle(value)) {
             return(NativeMethods.ISteamUGC_AddItemKeyValueTag(handle, key2, value2));
         }
 }
 public static EItemUpdateStatus GetItemUpdateProgress(UGCUpdateHandle handle, out ulong punBytesProcessed, out ulong punBytesTotal)
 {
     InteropHelp.TestIfAvailableGameServer();
     return(NativeMethods.ISteamGameServerUGC_GetItemUpdateProgress(handle, out punBytesProcessed, out punBytesTotal));
 }
 /// <summary>
 /// <para> change the tags of an UGC item</para>
 /// </summary>
 public static bool SetItemTags(UGCUpdateHandle updateHandle, System.Collections.Generic.IList <string> pTags)
 {
     InteropHelp.TestIfAvailableGameServer();
     return(NativeMethods.ISteamGameServerUGC_SetItemTags(updateHandle, new InteropHelp.SteamParamStringArray(pTags)));
 }
 /// <summary>
 /// <para> change the visibility of an UGC item</para>
 /// </summary>
 public static bool SetItemVisibility(UGCUpdateHandle handle, Visibility eVisibility)
 {
     InteropHelp.TestIfAvailableGameServer();
     return(NativeMethods.ISteamGameServerUGC_SetItemVisibility(handle, eVisibility));
 }
Example #19
0
 /// <summary>
 /// <para> change the tags of an UGC item</para>
 /// </summary>
 public static bool SetItemTags(UGCUpdateHandle updateHandle, IList <string> pTags)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamUGC_SetItemTags(updateHandle, new InteropHelp.SteamParamStringArray(pTags)));
 }