本文整理汇总了C#中UGCUpdateHandle_t类的典型用法代码示例。如果您正苦于以下问题:C# UGCUpdateHandle_t类的具体用法?C# UGCUpdateHandle_t怎么用?C# UGCUpdateHandle_t使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
UGCUpdateHandle_t类属于命名空间,在下文中一共展示了UGCUpdateHandle_t类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ISteamGameServerUGC_SetItemDescription
public static extern bool ISteamGameServerUGC_SetItemDescription(UGCUpdateHandle_t handle, InteropHelp.UTF8StringHandle pchDescription);
示例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);
}
}
示例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);
}
}
示例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));
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例8: ISteamGameServerUGC_RemoveItemKeyValueTags
public static extern bool ISteamGameServerUGC_RemoveItemKeyValueTags(UGCUpdateHandle_t handle, InteropHelp.UTF8StringHandle pchKey);
示例9: ISteamGameServerUGC_SetItemPreview
public static extern bool ISteamGameServerUGC_SetItemPreview(UGCUpdateHandle_t handle, InteropHelp.UTF8StringHandle pszPreviewFile);
示例10: ISteamGameServerUGC_SetItemContent
public static extern bool ISteamGameServerUGC_SetItemContent(UGCUpdateHandle_t handle, InteropHelp.UTF8StringHandle pszContentFolder);
示例11: ISteamGameServerUGC_SetItemTags
public static extern bool ISteamGameServerUGC_SetItemTags(UGCUpdateHandle_t updateHandle, IntPtr pTags);
示例12: ISteamGameServerUGC_SetItemVisibility
public static extern bool ISteamGameServerUGC_SetItemVisibility(UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility);
示例13: ISteamGameServerUGC_SetItemMetadata
public static extern bool ISteamGameServerUGC_SetItemMetadata(UGCUpdateHandle_t handle, InteropHelp.UTF8StringHandle pchMetaData);
示例14: ISteamGameServerUGC_SetItemUpdateLanguage
public static extern bool ISteamGameServerUGC_SetItemUpdateLanguage(UGCUpdateHandle_t handle, InteropHelp.UTF8StringHandle pchLanguage);
示例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);
}
}