Beispiel #1
0
        // Token: 0x0600087E RID: 2174 RVA: 0x0000F4FC File Offset: 0x0000D6FC
        public static SteamAPICall_t SubmitItemUpdate(UGCUpdateHandle_t handle, string pchChangeNote)
        {
            InteropHelp.TestIfAvailableClient();
            SteamAPICall_t result;

            using (InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchChangeNote))
            {
                result = (SteamAPICall_t)NativeMethods.ISteamUGC_SubmitItemUpdate(CSteamAPIContext.GetSteamUGC(), handle, utf8StringHandle);
            }
            return(result);
        }
Beispiel #2
0
        // Token: 0x0600087C RID: 2172 RVA: 0x0000F4B8 File Offset: 0x0000D6B8
        public static bool UpdateItemPreviewVideo(UGCUpdateHandle_t handle, uint index, string pszVideoID)
        {
            InteropHelp.TestIfAvailableClient();
            bool result;

            using (InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pszVideoID))
            {
                result = NativeMethods.ISteamUGC_UpdateItemPreviewVideo(CSteamAPIContext.GetSteamUGC(), handle, index, utf8StringHandle);
            }
            return(result);
        }
Beispiel #3
0
        // Token: 0x06000877 RID: 2167 RVA: 0x0000F344 File Offset: 0x0000D544
        public static bool RemoveItemKeyValueTags(UGCUpdateHandle_t handle, string pchKey)
        {
            InteropHelp.TestIfAvailableClient();
            bool result;

            using (InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchKey))
            {
                result = NativeMethods.ISteamUGC_RemoveItemKeyValueTags(CSteamAPIContext.GetSteamUGC(), handle, utf8StringHandle);
            }
            return(result);
        }
Beispiel #4
0
        // Token: 0x06000879 RID: 2169 RVA: 0x0000F3EC File Offset: 0x0000D5EC
        public static bool AddItemPreviewFile(UGCUpdateHandle_t handle, string pszPreviewFile, EItemPreviewType type)
        {
            InteropHelp.TestIfAvailableClient();
            bool result;

            using (InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pszPreviewFile))
            {
                result = NativeMethods.ISteamUGC_AddItemPreviewFile(CSteamAPIContext.GetSteamUGC(), handle, utf8StringHandle, type);
            }
            return(result);
        }
        // Token: 0x060006B7 RID: 1719 RVA: 0x0000D884 File Offset: 0x0000BA84
        public static bool UpdateItemPreviewFile(UGCUpdateHandle_t handle, uint index, string pszPreviewFile)
        {
            InteropHelp.TestIfAvailableGameServer();
            bool result;

            using (InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pszPreviewFile))
            {
                result = NativeMethods.ISteamUGC_UpdateItemPreviewFile(CSteamGameServerAPIContext.GetSteamUGC(), handle, index, utf8StringHandle);
            }
            return(result);
        }
Beispiel #6
0
        // Token: 0x06000875 RID: 2165 RVA: 0x0000F2BC File Offset: 0x0000D4BC
        public static bool SetItemContent(UGCUpdateHandle_t handle, string pszContentFolder)
        {
            InteropHelp.TestIfAvailableClient();
            bool result;

            using (InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pszContentFolder))
            {
                result = NativeMethods.ISteamUGC_SetItemContent(CSteamAPIContext.GetSteamUGC(), handle, utf8StringHandle);
            }
            return(result);
        }
        // Token: 0x060006B6 RID: 1718 RVA: 0x0000D840 File Offset: 0x0000BA40
        public static bool AddItemPreviewVideo(UGCUpdateHandle_t handle, string pszVideoID)
        {
            InteropHelp.TestIfAvailableGameServer();
            bool result;

            using (InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pszVideoID))
            {
                result = NativeMethods.ISteamUGC_AddItemPreviewVideo(CSteamGameServerAPIContext.GetSteamUGC(), handle, utf8StringHandle);
            }
            return(result);
        }
        // Token: 0x060006AE RID: 1710 RVA: 0x0000D688 File Offset: 0x0000B888
        public static bool SetItemMetadata(UGCUpdateHandle_t handle, string pchMetaData)
        {
            InteropHelp.TestIfAvailableGameServer();
            bool result;

            using (InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchMetaData))
            {
                result = NativeMethods.ISteamUGC_SetItemMetadata(CSteamGameServerAPIContext.GetSteamUGC(), handle, utf8StringHandle);
            }
            return(result);
        }
        // Token: 0x060006B4 RID: 1716 RVA: 0x0000D798 File Offset: 0x0000B998
        public static bool AddItemKeyValueTag(UGCUpdateHandle_t handle, string pchKey, string pchValue)
        {
            InteropHelp.TestIfAvailableGameServer();
            bool result;

            using (InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchKey))
            {
                using (InteropHelp.UTF8StringHandle utf8StringHandle2 = new InteropHelp.UTF8StringHandle(pchValue))
                {
                    result = NativeMethods.ISteamUGC_AddItemKeyValueTag(CSteamGameServerAPIContext.GetSteamUGC(), handle, utf8StringHandle, utf8StringHandle2);
                }
            }
            return(result);
        }
Beispiel #10
0
 // Token: 0x0600087F RID: 2175 RVA: 0x000068AC File Offset: 0x00004AAC
 public static EItemUpdateStatus GetItemUpdateProgress(UGCUpdateHandle_t handle, out ulong punBytesProcessed, out ulong punBytesTotal)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamUGC_GetItemUpdateProgress(CSteamAPIContext.GetSteamUGC(), handle, out punBytesProcessed, out punBytesTotal));
 }
Beispiel #11
0
 // Token: 0x0600087D RID: 2173 RVA: 0x00006899 File Offset: 0x00004A99
 public static bool RemoveItemPreview(UGCUpdateHandle_t handle, uint index)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamUGC_RemoveItemPreview(CSteamAPIContext.GetSteamUGC(), handle, index));
 }
Beispiel #12
0
 // Token: 0x06000874 RID: 2164 RVA: 0x0000687C File Offset: 0x00004A7C
 public static bool SetItemTags(UGCUpdateHandle_t updateHandle, IList <string> pTags)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamUGC_SetItemTags(CSteamAPIContext.GetSteamUGC(), updateHandle, new InteropHelp.SteamParamStringArray(pTags)));
 }
Beispiel #13
0
 // Token: 0x06000873 RID: 2163 RVA: 0x00006869 File Offset: 0x00004A69
 public static bool SetItemVisibility(UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamUGC_SetItemVisibility(CSteamAPIContext.GetSteamUGC(), handle, eVisibility));
 }