Пример #1
0
 /// <summary>
 /// <para> Query for all matching UGC. Creator app id or consumer app id must be valid and be set to the current running app. unPage should start at 1.</para>
 /// </summary>
 public static UGCQueryHandle_t CreateQueryAllUGCRequest(EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint unPage)
 {
     InteropHelp.TestIfAvailableClient();
     return((UGCQueryHandle_t)NativeMethods.ISteamUGC_CreateQueryAllUGCRequest(CSteamAPIContext.GetSteamUGC(), eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage));
 }
Пример #2
0
 /// <summary>
 /// <para> Release the request to free up memory, after retrieving results</para>
 /// </summary>
 public static bool ReleaseQueryUGCRequest(UGCQueryHandle_t handle)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamUGC_ReleaseQueryUGCRequest(CSteamAPIContext.GetSteamUGC(), handle));
 }
Пример #3
0
 /// <summary>
 /// <para> Query UGC associated with a user. Creator app id or consumer app id must be valid and be set to the current running app. unPage should start at 1.</para>
 /// </summary>
 public static UGCQueryHandle_t CreateQueryUserUGCRequest(AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint unPage)
 {
     InteropHelp.TestIfAvailableClient();
     return((UGCQueryHandle_t)NativeMethods.ISteamUGC_CreateQueryUserUGCRequest(CSteamAPIContext.GetSteamUGC(), unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage));
 }
Пример #4
0
 /// <summary>
 /// <para> delete the item without prompting the user</para>
 /// </summary>
 public static SteamAPICall_t DeleteItem(PublishedFileId_t nPublishedFileID)
 {
     InteropHelp.TestIfAvailableClient();
     return((SteamAPICall_t)NativeMethods.ISteamUGC_DeleteItem(CSteamAPIContext.GetSteamUGC(), nPublishedFileID));
 }
Пример #5
0
 public static bool GetQueryUGCStatistic(UGCQueryHandle_t handle, uint index, EItemStatistic eStatType, out ulong pStatValue)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamUGC_GetQueryUGCStatistic(CSteamAPIContext.GetSteamUGC(), handle, index, eStatType, out pStatValue));
 }
Пример #6
0
 public static SteamAPICall_t StopPlaytimeTrackingForAllItems()
 {
     InteropHelp.TestIfAvailableClient();
     return((SteamAPICall_t)NativeMethods.ISteamUGC_StopPlaytimeTrackingForAllItems(CSteamAPIContext.GetSteamUGC()));
 }
Пример #7
0
 public static SteamAPICall_t RemoveAppDependency(PublishedFileId_t nPublishedFileID, AppId_t nAppID)
 {
     InteropHelp.TestIfAvailableClient();
     return((SteamAPICall_t)NativeMethods.ISteamUGC_RemoveAppDependency(CSteamAPIContext.GetSteamUGC(), nPublishedFileID, nAppID));
 }
Пример #8
0
 /// <summary>
 /// <para> Steam Workshop Consumer API</para>
 /// </summary>
 public static SteamAPICall_t SetUserItemVote(PublishedFileId_t nPublishedFileID, bool bVoteUp)
 {
     InteropHelp.TestIfAvailableClient();
     return((SteamAPICall_t)NativeMethods.ISteamUGC_SetUserItemVote(CSteamAPIContext.GetSteamUGC(), nPublishedFileID, bVoteUp));
 }
Пример #9
0
 /// <summary>
 /// <para> Send the query to Steam</para>
 /// </summary>
 public static SteamAPICall_t SendQueryUGCRequest(UGCQueryHandle_t handle)
 {
     InteropHelp.TestIfAvailableClient();
     return((SteamAPICall_t)NativeMethods.ISteamUGC_SendQueryUGCRequest(CSteamAPIContext.GetSteamUGC(), handle));
 }
Пример #10
0
 /// <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(CSteamAPIContext.GetSteamUGC(), handle, index));
 }
Пример #11
0
 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));
 }
Пример #12
0
 /// <summary>
 /// <para> Query for the details of the given published file ids (the RequestUGCDetails call is deprecated and replaced with this)</para>
 /// </summary>
 public static UGCQueryHandle_t CreateQueryUGCDetailsRequest(PublishedFileId_t[] pvecPublishedFileID, uint unNumPublishedFileIDs)
 {
     InteropHelp.TestIfAvailableClient();
     return((UGCQueryHandle_t)NativeMethods.ISteamUGC_CreateQueryUGCDetailsRequest(CSteamAPIContext.GetSteamUGC(), pvecPublishedFileID, unNumPublishedFileIDs));
 }
Пример #13
0
 /// <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.TestIfAvailableClient();
     return(NativeMethods.ISteamUGC_SetItemTags(CSteamAPIContext.GetSteamUGC(), updateHandle, new InteropHelp.SteamParamStringArray(pTags)));
 }
Пример #14
0
 /// <summary>
 /// <para> change the visibility of an UGC item</para>
 /// </summary>
 public static bool SetItemVisibility(UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamUGC_SetItemVisibility(CSteamAPIContext.GetSteamUGC(), handle, eVisibility));
 }
Пример #15
0
 /// <summary>
 /// <para> SuspendDownloads( true ) will suspend all workshop downloads until SuspendDownloads( false ) is called or the game ends</para>
 /// </summary>
 public static void SuspendDownloads(bool bSuspend)
 {
     InteropHelp.TestIfAvailableClient();
     NativeMethods.ISteamUGC_SuspendDownloads(CSteamAPIContext.GetSteamUGC(), bSuspend);
 }
Пример #16
0
 public static SteamAPICall_t RemoveItemFromFavorites(AppId_t nAppId, PublishedFileId_t nPublishedFileID)
 {
     InteropHelp.TestIfAvailableClient();
     return((SteamAPICall_t)NativeMethods.ISteamUGC_RemoveItemFromFavorites(CSteamAPIContext.GetSteamUGC(), nAppId, nPublishedFileID));
 }
Пример #17
0
 public static SteamAPICall_t StopPlaytimeTracking(PublishedFileId_t[] pvecPublishedFileID, uint unNumPublishedFileIDs)
 {
     InteropHelp.TestIfAvailableClient();
     return((SteamAPICall_t)NativeMethods.ISteamUGC_StopPlaytimeTracking(CSteamAPIContext.GetSteamUGC(), pvecPublishedFileID, unNumPublishedFileIDs));
 }
Пример #18
0
 /// <summary>
 /// <para> number of subscribed items</para>
 /// </summary>
 public static uint GetNumSubscribedItems()
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamUGC_GetNumSubscribedItems(CSteamAPIContext.GetSteamUGC()));
 }
Пример #19
0
 /// <summary>
 /// <para> parent-child relationship or dependency management</para>
 /// </summary>
 public static SteamAPICall_t AddDependency(PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID)
 {
     InteropHelp.TestIfAvailableClient();
     return((SteamAPICall_t)NativeMethods.ISteamUGC_AddDependency(CSteamAPIContext.GetSteamUGC(), nParentPublishedFileID, nChildPublishedFileID));
 }
Пример #20
0
 /// <summary>
 /// <para> all subscribed item PublishFileIDs</para>
 /// </summary>
 public static uint GetSubscribedItems(PublishedFileId_t[] pvecPublishedFileID, uint cMaxEntries)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamUGC_GetSubscribedItems(CSteamAPIContext.GetSteamUGC(), pvecPublishedFileID, cMaxEntries));
 }
Пример #21
0
 /// <summary>
 /// <para> request app dependencies. note that whatever callback you register for GetAppDependenciesResult_t may be called multiple times</para>
 /// <para> until all app dependencies have been returned</para>
 /// </summary>
 public static SteamAPICall_t GetAppDependencies(PublishedFileId_t nPublishedFileID)
 {
     InteropHelp.TestIfAvailableClient();
     return((SteamAPICall_t)NativeMethods.ISteamUGC_GetAppDependencies(CSteamAPIContext.GetSteamUGC(), nPublishedFileID));
 }
Пример #22
0
 /// <summary>
 /// <para> get EItemState flags about item on this client</para>
 /// </summary>
 public static uint GetItemState(PublishedFileId_t nPublishedFileID)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamUGC_GetItemState(CSteamAPIContext.GetSteamUGC(), nPublishedFileID));
 }
Пример #23
0
 public static bool GetQueryUGCChildren(UGCQueryHandle_t handle, uint index, PublishedFileId_t[] pvecPublishedFileID, uint cMaxEntries)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamUGC_GetQueryUGCChildren(CSteamAPIContext.GetSteamUGC(), handle, index, pvecPublishedFileID, cMaxEntries));
 }
Пример #24
0
 /// <summary>
 /// <para> get info about pending update for items that have k_EItemStateNeedsUpdate set. punBytesTotal will be valid after download started once</para>
 /// </summary>
 public static bool GetItemDownloadInfo(PublishedFileId_t nPublishedFileID, out ulong punBytesDownloaded, out ulong punBytesTotal)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamUGC_GetItemDownloadInfo(CSteamAPIContext.GetSteamUGC(), nPublishedFileID, out punBytesDownloaded, out punBytesTotal));
 }
Пример #25
0
 public static uint GetQueryUGCNumKeyValueTags(UGCQueryHandle_t handle, uint index)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamUGC_GetQueryUGCNumKeyValueTags(CSteamAPIContext.GetSteamUGC(), handle, index));
 }
Пример #26
0
 /// <summary>
 /// <para> Retrieve an individual result after receiving the callback for querying UGC</para>
 /// </summary>
 public static bool GetQueryUGCResult(UGCQueryHandle_t handle, uint index, out SteamUGCDetails_t pDetails)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamUGC_GetQueryUGCResult(CSteamAPIContext.GetSteamUGC(), handle, index, out pDetails));
 }
Пример #27
0
 /// <summary>
 /// <para> match any of the tags in this group</para>
 /// </summary>
 public static bool AddRequiredTagGroup(UGCQueryHandle_t handle, System.Collections.Generic.IList <string> pTagGroups)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamUGC_AddRequiredTagGroup(CSteamAPIContext.GetSteamUGC(), handle, new InteropHelp.SteamParamStringArray(pTagGroups)));
 }
Пример #28
0
 /// <summary>
 /// <para> download new or update already installed item. If function returns true, wait for DownloadItemResult_t. If the item is already installed,</para>
 /// <para> then files on disk should not be used until callback received. If item is not subscribed to, it will be cached for some time.</para>
 /// <para> If bHighPriority is set, any other item download will be suspended and this item downloaded ASAP.</para>
 /// </summary>
 public static bool DownloadItem(PublishedFileId_t nPublishedFileID, bool bHighPriority)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamUGC_DownloadItem(CSteamAPIContext.GetSteamUGC(), nPublishedFileID, bHighPriority));
 }
Пример #29
0
 public static bool SetReturnChildren(UGCQueryHandle_t handle, bool bReturnChildren)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamUGC_SetReturnChildren(CSteamAPIContext.GetSteamUGC(), handle, bReturnChildren));
 }
Пример #30
0
 /// <summary>
 /// <para> start an UGC item update. Set changed properties before commiting update with CommitItemUpdate()</para>
 /// </summary>
 public static UGCUpdateHandle_t StartItemUpdate(AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID)
 {
     InteropHelp.TestIfAvailableClient();
     return((UGCUpdateHandle_t)NativeMethods.ISteamUGC_StartItemUpdate(CSteamAPIContext.GetSteamUGC(), nConsumerAppId, nPublishedFileID));
 }