本文整理汇总了C#中UGCUpdateHandle_t类的典型用法代码示例。如果您正苦于以下问题:C# UGCUpdateHandle_t类的具体用法?C# UGCUpdateHandle_t怎么用?C# UGCUpdateHandle_t使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
UGCUpdateHandle_t类属于命名空间,在下文中一共展示了UGCUpdateHandle_t类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: ISteamGameServerUGC_SetItemDescription
public static extern bool ISteamGameServerUGC_SetItemDescription(UGCUpdateHandle_t handle, InteropHelp.UTF8StringHandle pchDescription);
开发者ID:xulinqs,项目名称:Steamworks.NET,代码行数:1,代码来源:NativeMethods.cs
示例2: SubmitItemUpdate
/// <summary>
/// <para> commit update process started with StartItemUpdate()</para>
/// </summary>
public static SteamAPICall_t SubmitItemUpdate(UGCUpdateHandle_t handle, string pchChangeNote) {
InteropHelp.TestIfAvailableGameServer();
using (var pchChangeNote2 = new InteropHelp.UTF8StringHandle(pchChangeNote)) {
return (SteamAPICall_t)NativeMethods.ISteamGameServerUGC_SubmitItemUpdate(handle, pchChangeNote2);
}
}
开发者ID:jtsadlerjr,项目名称:Steamworks.NET,代码行数:9,代码来源:isteamgameserverugc.cs
示例3: SetItemPreview
/// <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_t handle, string pszPreviewFile) {
InteropHelp.TestIfAvailableGameServer();
using (var pszPreviewFile2 = new InteropHelp.UTF8StringHandle(pszPreviewFile)) {
return NativeMethods.ISteamGameServerUGC_SetItemPreview(handle, pszPreviewFile2);
}
}
开发者ID:jtsadlerjr,项目名称:Steamworks.NET,代码行数:9,代码来源:isteamgameserverugc.cs
示例4: SetItemTags
/// <summary>
/// <para> change the tags of an UGC item</para>
/// </summary>
public static bool SetItemTags(UGCUpdateHandle_t updateHandle, System.Collections.Generic.IList<string> pTags) {
InteropHelp.TestIfAvailableGameServer();
return NativeMethods.ISteamGameServerUGC_SetItemTags(updateHandle, new InteropHelp.SteamParamStringArray(pTags));
}
开发者ID:jtsadlerjr,项目名称:Steamworks.NET,代码行数:7,代码来源:isteamgameserverugc.cs
示例5: SetItemMetadata
/// <summary>
/// <para> change the metadata of an UGC item (max = k_cchDeveloperMetadataMax)</para>
/// </summary>
public static bool SetItemMetadata(UGCUpdateHandle_t handle, string pchMetaData) {
InteropHelp.TestIfAvailableGameServer();
using (var pchMetaData2 = new InteropHelp.UTF8StringHandle(pchMetaData)) {
return NativeMethods.ISteamGameServerUGC_SetItemMetadata(handle, pchMetaData2);
}
}
开发者ID:jtsadlerjr,项目名称:Steamworks.NET,代码行数:9,代码来源:isteamgameserverugc.cs
示例6: SetItemDescription
/// <summary>
/// <para> change the description of an UGC item</para>
/// </summary>
public static bool SetItemDescription(UGCUpdateHandle_t handle, string pchDescription) {
InteropHelp.TestIfAvailableGameServer();
using (var pchDescription2 = new InteropHelp.UTF8StringHandle(pchDescription)) {
return NativeMethods.ISteamGameServerUGC_SetItemDescription(handle, pchDescription2);
}
}
开发者ID:jtsadlerjr,项目名称:Steamworks.NET,代码行数:9,代码来源:isteamgameserverugc.cs
示例7: UpdateItemPreviewVideo
/// <summary>
/// <para> updates an existing preview video for this item</para>
/// </summary>
public static bool UpdateItemPreviewVideo(UGCUpdateHandle_t handle, uint index, string pszVideoID) {
InteropHelp.TestIfAvailableClient();
using (var pszVideoID2 = new InteropHelp.UTF8StringHandle(pszVideoID)) {
return NativeMethods.ISteamUGC_UpdateItemPreviewVideo(handle, index, pszVideoID2);
}
}
开发者ID:zsebastian,项目名称:Steamworks.NET,代码行数:9,代码来源:isteamugc.cs
示例8: ISteamGameServerUGC_RemoveItemKeyValueTags
public static extern bool ISteamGameServerUGC_RemoveItemKeyValueTags(UGCUpdateHandle_t handle, InteropHelp.UTF8StringHandle pchKey);
开发者ID:xulinqs,项目名称:Steamworks.NET,代码行数:1,代码来源:NativeMethods.cs
示例9: ISteamGameServerUGC_SetItemPreview
public static extern bool ISteamGameServerUGC_SetItemPreview(UGCUpdateHandle_t handle, InteropHelp.UTF8StringHandle pszPreviewFile);
开发者ID:xulinqs,项目名称:Steamworks.NET,代码行数:1,代码来源:NativeMethods.cs
示例10: ISteamGameServerUGC_SetItemContent
public static extern bool ISteamGameServerUGC_SetItemContent(UGCUpdateHandle_t handle, InteropHelp.UTF8StringHandle pszContentFolder);
开发者ID:xulinqs,项目名称:Steamworks.NET,代码行数:1,代码来源:NativeMethods.cs
示例11: ISteamGameServerUGC_SetItemTags
public static extern bool ISteamGameServerUGC_SetItemTags(UGCUpdateHandle_t updateHandle, IntPtr pTags);
开发者ID:xulinqs,项目名称:Steamworks.NET,代码行数:1,代码来源:NativeMethods.cs
示例12: ISteamGameServerUGC_SetItemVisibility
public static extern bool ISteamGameServerUGC_SetItemVisibility(UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility);
开发者ID:xulinqs,项目名称:Steamworks.NET,代码行数:1,代码来源:NativeMethods.cs
示例13: ISteamGameServerUGC_SetItemMetadata
public static extern bool ISteamGameServerUGC_SetItemMetadata(UGCUpdateHandle_t handle, InteropHelp.UTF8StringHandle pchMetaData);
开发者ID:xulinqs,项目名称:Steamworks.NET,代码行数:1,代码来源:NativeMethods.cs
示例14: ISteamGameServerUGC_SetItemUpdateLanguage
public static extern bool ISteamGameServerUGC_SetItemUpdateLanguage(UGCUpdateHandle_t handle, InteropHelp.UTF8StringHandle pchLanguage);
开发者ID:xulinqs,项目名称:Steamworks.NET,代码行数:1,代码来源:NativeMethods.cs
示例15: RemoveItemKeyValueTags
/// <summary>
/// <para> remove any existing key-value tags with the specified key</para>
/// </summary>
public static bool RemoveItemKeyValueTags(UGCUpdateHandle_t handle, string pchKey) {
InteropHelp.TestIfAvailableClient();
using (var pchKey2 = new InteropHelp.UTF8StringHandle(pchKey)) {
return NativeMethods.ISteamUGC_RemoveItemKeyValueTags(handle, pchKey2);
}
}
开发者ID:zsebastian,项目名称:Steamworks.NET,代码行数:9,代码来源:isteamugc.cs
示例16: AddItemPreviewFile
/// <summary>
/// <para> add preview file for this item. pszPreviewFile points to local file, which must be under 1MB in size</para>
/// </summary>
public static bool AddItemPreviewFile(UGCUpdateHandle_t handle, string pszPreviewFile, EItemPreviewType type) {
InteropHelp.TestIfAvailableClient();
using (var pszPreviewFile2 = new InteropHelp.UTF8StringHandle(pszPreviewFile)) {
return NativeMethods.ISteamUGC_AddItemPreviewFile(handle, pszPreviewFile2, type);
}
}
开发者ID:zsebastian,项目名称:Steamworks.NET,代码行数:9,代码来源:isteamugc.cs
示例17: ISteamGameServerUGC_AddItemKeyValueTag
public static extern bool ISteamGameServerUGC_AddItemKeyValueTag(UGCUpdateHandle_t handle, InteropHelp.UTF8StringHandle pchKey, InteropHelp.UTF8StringHandle pchValue);
开发者ID:xulinqs,项目名称:Steamworks.NET,代码行数:1,代码来源:NativeMethods.cs
示例18: RemoveItemPreview
/// <summary>
/// <para> remove a preview by index starting at 0 (previews are sorted)</para>
/// </summary>
public static bool RemoveItemPreview(UGCUpdateHandle_t handle, uint index) {
InteropHelp.TestIfAvailableClient();
return NativeMethods.ISteamUGC_RemoveItemPreview(handle, index);
}
开发者ID:zsebastian,项目名称:Steamworks.NET,代码行数:7,代码来源:isteamugc.cs
示例19: ISteamGameServerUGC_AddItemPreviewFile
public static extern bool ISteamGameServerUGC_AddItemPreviewFile(UGCUpdateHandle_t handle, InteropHelp.UTF8StringHandle pszPreviewFile, EItemPreviewType type);
开发者ID:xulinqs,项目名称:Steamworks.NET,代码行数:1,代码来源:NativeMethods.cs
示例20: SetItemUpdateLanguage
/// <summary>
/// <para> specify the language of the title or description that will be set</para>
/// </summary>
public static bool SetItemUpdateLanguage(UGCUpdateHandle_t handle, string pchLanguage) {
InteropHelp.TestIfAvailableGameServer();
using (var pchLanguage2 = new InteropHelp.UTF8StringHandle(pchLanguage)) {
return NativeMethods.ISteamGameServerUGC_SetItemUpdateLanguage(handle, pchLanguage2);
}
}
开发者ID:jtsadlerjr,项目名称:Steamworks.NET,代码行数:9,代码来源:isteamgameserverugc.cs
注:本文中的UGCUpdateHandle_t类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论