Rise
The Vieneo Province
Loading...
Searching...
No Matches
isteamugc.h
Go to the documentation of this file.
1//====== Copyright 1996-2013, Valve Corporation, All rights reserved. =======
2//
3// Purpose: interface to steam ugc
4//
5//=============================================================================
6
7#ifndef ISTEAMUGC_H
8#define ISTEAMUGC_H
9#ifdef _WIN32
10#pragma once
11#endif
12
13#include "steam_api_common.h"
14#include "isteamremotestorage.h"
15
16// callbacks
17#if defined( VALVE_CALLBACK_PACK_SMALL )
18#pragma pack( push, 4 )
19#elif defined( VALVE_CALLBACK_PACK_LARGE )
20#pragma pack( push, 8 )
21#else
22#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx
23#endif
24
25
28
29
30const UGCQueryHandle_t k_UGCQueryHandleInvalid = 0xffffffffffffffffull;
31const UGCUpdateHandle_t k_UGCUpdateHandleInvalid = 0xffffffffffffffffull;
32
33
34// Matching UGC types for queries
52
53// Different lists of published UGC for a user.
54// If the current logged in user is different than the specified user, then some options may not be allowed.
67
68// Sort order for user published UGC lists (defaults to creation order descending)
79
80// Combination of sorting and filtering for queries across all UGC
106
108{
109 k_EItemUpdateStatusInvalid = 0, // The item update handle was invalid, job might be finished, listen too SubmitItemUpdateResult_t
110 k_EItemUpdateStatusPreparingConfig = 1, // The item update is processing configuration data
111 k_EItemUpdateStatusPreparingContent = 2, // The item update is reading and processing content files
112 k_EItemUpdateStatusUploadingContent = 3, // The item update is uploading content changes to Steam
113 k_EItemUpdateStatusUploadingPreviewFile = 4, // The item update is uploading new preview file image
114 k_EItemUpdateStatusCommittingChanges = 5 // The item update is committing all changes
115};
116
118{
119 k_EItemStateNone = 0, // item not tracked on client
120 k_EItemStateSubscribed = 1, // current user is subscribed to this item. Not just cached.
121 k_EItemStateLegacyItem = 2, // item was created with ISteamRemoteStorage
122 k_EItemStateInstalled = 4, // item is installed and usable (but maybe out of date)
123 k_EItemStateNeedsUpdate = 8, // items needs an update. Either because it's not installed yet or creator updated content
124 k_EItemStateDownloading = 16, // item update is currently downloading
125 k_EItemStateDownloadPending = 32, // DownloadItem() was called for this item, content isn't available until DownloadItemResult_t is fired
126 k_EItemStateDisabledLocally = 64, // Item is disabled locally, so it shouldn't be considered subscribed
127};
128
145
147{
148 k_EItemPreviewType_Image = 0, // standard image file expected (e.g. jpg, png, gif, etc.)
149 k_EItemPreviewType_YouTubeVideo = 1, // video id is stored
150 k_EItemPreviewType_Sketchfab = 2, // model id is stored
151 k_EItemPreviewType_EnvironmentMap_HorizontalCross = 3, // standard image file expected - cube map in the layout
152 // +---+---+-------+
153 // | |Up | |
154 // +---+---+---+---+
155 // | L | F | R | B |
156 // +---+---+---+---+
157 // | |Dn | |
158 // +---+---+---+---+
159 k_EItemPreviewType_EnvironmentMap_LatLong = 4, // standard image file expected
160 k_EItemPreviewType_Clip = 5, // clip id is stored
161 k_EItemPreviewType_ReservedMax = 255, // you can specify your own types above this value
162};
163
172
175
176// Details for a single published file/UGC
178{
180 EResult m_eResult; // The result of the operation.
181 EWorkshopFileType m_eFileType; // Type of the file
182 AppId_t m_nCreatorAppID; // ID of the app that created this file.
183 AppId_t m_nConsumerAppID; // ID of the app that will consume this file.
184 char m_rgchTitle[k_cchPublishedDocumentTitleMax]; // title of document
186 uint64 m_ulSteamIDOwner; // Steam ID of the user who created this content.
187 uint32 m_rtimeCreated; // time when the published file was created
188 uint32 m_rtimeUpdated; // time when the published file was last updated
189 uint32 m_rtimeAddedToUserList; // time when the user added the published file to their list (not always applicable)
191 bool m_bBanned; // whether the file was banned
192 bool m_bAcceptedForUse; // developer has specifically flagged this item as accepted in the Workshop
193 bool m_bTagsTruncated; // whether the list of tags was too long to be returned in the provided buffer
194 char m_rgchTags[k_cchTagListMax]; // comma separated list of all tags associated with this file
195 // file/url information
196 UGCHandle_t m_hFile; // The handle of the primary file
197 UGCHandle_t m_hPreviewFile; // The handle of the preview file
198 char m_pchFileName[k_cchFilenameMax]; // The cloud filename of the primary file
199 int32 m_nFileSize; // Size of the primary file (for legacy items which only support one file). This may not be accurate for non-legacy items which can be greater than 4gb in size.
200 int32 m_nPreviewFileSize; // Size of the preview file
201 char m_rgchURL[k_cchPublishedFileURLMax]; // URL (for a video or a website)
202 // voting information
203 uint32 m_unVotesUp; // number of votes up
204 uint32 m_unVotesDown; // number of votes down
205 float m_flScore; // calculated score
206 // collection details
208 uint64 m_ulTotalFilesSize; // Total size of all files (non-legacy), excluding the preview file
209};
210
211//-----------------------------------------------------------------------------
212// Purpose: Steam UGC support API
213//-----------------------------------------------------------------------------
215{
216public:
217
218 // 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.
219 virtual UGCQueryHandle_t CreateQueryUserUGCRequest( AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage ) = 0;
220
221 // 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.
222 STEAM_FLAT_NAME( CreateQueryAllUGCRequestPage )
223 virtual UGCQueryHandle_t CreateQueryAllUGCRequest( EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage ) = 0;
224
225 // Query for all matching UGC using the new deep paging interface. Creator app id or consumer app id must be valid and be set to the current running app. pchCursor should be set to NULL or "*" to get the first result set.
226 STEAM_FLAT_NAME( CreateQueryAllUGCRequestCursor )
227 virtual UGCQueryHandle_t CreateQueryAllUGCRequest( EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char *pchCursor = NULL ) = 0;
228
229 // Query for the details of the given published file ids (the RequestUGCDetails call is deprecated and replaced with this)
230 virtual UGCQueryHandle_t CreateQueryUGCDetailsRequest( PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs ) = 0;
231
232 // Send the query to Steam
235
236 // Retrieve an individual result after receiving the callback for querying UGC
237 virtual bool GetQueryUGCResult( UGCQueryHandle_t handle, uint32 index, SteamUGCDetails_t *pDetails ) = 0;
238 virtual uint32 GetQueryUGCNumTags( UGCQueryHandle_t handle, uint32 index ) = 0;
239 virtual bool GetQueryUGCTag( UGCQueryHandle_t handle, uint32 index, uint32 indexTag, STEAM_OUT_STRING_COUNT( cchValueSize ) char* pchValue, uint32 cchValueSize ) = 0;
240 virtual bool GetQueryUGCTagDisplayName( UGCQueryHandle_t handle, uint32 index, uint32 indexTag, STEAM_OUT_STRING_COUNT( cchValueSize ) char* pchValue, uint32 cchValueSize ) = 0;
241 virtual bool GetQueryUGCPreviewURL( UGCQueryHandle_t handle, uint32 index, STEAM_OUT_STRING_COUNT(cchURLSize) char *pchURL, uint32 cchURLSize ) = 0;
242 virtual bool GetQueryUGCMetadata( UGCQueryHandle_t handle, uint32 index, STEAM_OUT_STRING_COUNT(cchMetadatasize) char *pchMetadata, uint32 cchMetadatasize ) = 0;
243 virtual bool GetQueryUGCChildren( UGCQueryHandle_t handle, uint32 index, PublishedFileId_t* pvecPublishedFileID, uint32 cMaxEntries ) = 0;
244 virtual bool GetQueryUGCStatistic( UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue ) = 0;
246 virtual bool GetQueryUGCAdditionalPreview( UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, STEAM_OUT_STRING_COUNT(cchURLSize) char *pchURLOrVideoID, uint32 cchURLSize, STEAM_OUT_STRING_COUNT(cchOriginalFileNameSize) char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType ) = 0;
248 virtual bool GetQueryUGCKeyValueTag( UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, STEAM_OUT_STRING_COUNT(cchKeySize) char *pchKey, uint32 cchKeySize, STEAM_OUT_STRING_COUNT(cchValueSize) char *pchValue, uint32 cchValueSize ) = 0;
249
250 // Return the first value matching the pchKey. Note that a key may map to multiple values. Returns false if there was an error or no matching value was found.
251 STEAM_FLAT_NAME( GetQueryFirstUGCKeyValueTag )
252 virtual bool GetQueryUGCKeyValueTag( UGCQueryHandle_t handle, uint32 index, const char *pchKey, STEAM_OUT_STRING_COUNT(cchValueSize) char *pchValue, uint32 cchValueSize ) = 0;
253
254 // Some items can specify that they have a version that is valid for a range of game versions (Steam branch)
256 virtual bool GetSupportedGameVersionData( UGCQueryHandle_t handle, uint32 index, uint32 versionIndex, STEAM_OUT_STRING_COUNT( cchGameBranchSize ) char *pchGameBranchMin, STEAM_OUT_STRING_COUNT( cchGameBranchSize ) char *pchGameBranchMax, uint32 cchGameBranchSize ) = 0;
257
258 virtual uint32 GetQueryUGCContentDescriptors( UGCQueryHandle_t handle, uint32 index, EUGCContentDescriptorID *pvecDescriptors, uint32 cMaxEntries ) = 0;
259
260 // Release the request to free up memory, after retrieving results
261 virtual bool ReleaseQueryUGCRequest( UGCQueryHandle_t handle ) = 0;
262
263 // Options to set for querying UGC
264 virtual bool AddRequiredTag( UGCQueryHandle_t handle, const char *pTagName ) = 0;
265 virtual bool AddRequiredTagGroup( UGCQueryHandle_t handle, const SteamParamStringArray_t *pTagGroups ) = 0; // match any of the tags in this group
266 virtual bool AddExcludedTag( UGCQueryHandle_t handle, const char *pTagName ) = 0;
267 virtual bool SetReturnOnlyIDs( UGCQueryHandle_t handle, bool bReturnOnlyIDs ) = 0;
268 virtual bool SetReturnKeyValueTags( UGCQueryHandle_t handle, bool bReturnKeyValueTags ) = 0;
269 virtual bool SetReturnLongDescription( UGCQueryHandle_t handle, bool bReturnLongDescription ) = 0;
270 virtual bool SetReturnMetadata( UGCQueryHandle_t handle, bool bReturnMetadata ) = 0;
271 virtual bool SetReturnChildren( UGCQueryHandle_t handle, bool bReturnChildren ) = 0;
272 virtual bool SetReturnAdditionalPreviews( UGCQueryHandle_t handle, bool bReturnAdditionalPreviews ) = 0;
273 virtual bool SetReturnTotalOnly( UGCQueryHandle_t handle, bool bReturnTotalOnly ) = 0;
274 virtual bool SetReturnPlaytimeStats( UGCQueryHandle_t handle, uint32 unDays ) = 0;
275 virtual bool SetLanguage( UGCQueryHandle_t handle, const char *pchLanguage ) = 0;
276 virtual bool SetAllowCachedResponse( UGCQueryHandle_t handle, uint32 unMaxAgeSeconds ) = 0;
277 virtual bool SetAdminQuery( UGCUpdateHandle_t handle, bool bAdminQuery ) = 0; // admin queries return hidden items
278
279 // Options only for querying user UGC
280 virtual bool SetCloudFileNameFilter( UGCQueryHandle_t handle, const char *pMatchCloudFileName ) = 0;
281
282 // Options only for querying all UGC
283 virtual bool SetMatchAnyTag( UGCQueryHandle_t handle, bool bMatchAnyTag ) = 0;
284 virtual bool SetSearchText( UGCQueryHandle_t handle, const char *pSearchText ) = 0;
285 virtual bool SetRankedByTrendDays( UGCQueryHandle_t handle, uint32 unDays ) = 0;
286 virtual bool SetTimeCreatedDateRange( UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd ) = 0;
287 virtual bool SetTimeUpdatedDateRange( UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd ) = 0;
288 virtual bool AddRequiredKeyValueTag( UGCQueryHandle_t handle, const char *pKey, const char *pValue ) = 0;
289
290 // DEPRECATED - Use CreateQueryUGCDetailsRequest call above instead!
292 virtual SteamAPICall_t RequestUGCDetails( PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds ) = 0;
293
294 // Steam Workshop Creator API
296 virtual SteamAPICall_t CreateItem( AppId_t nConsumerAppId, EWorkshopFileType eFileType ) = 0; // create new item for this app with no content attached yet
297
298 virtual UGCUpdateHandle_t StartItemUpdate( AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID ) = 0; // start an UGC item update. Set changed properties before commiting update with CommitItemUpdate()
299
300 virtual bool SetItemTitle( UGCUpdateHandle_t handle, const char *pchTitle ) = 0; // change the title of an UGC item
301 virtual bool SetItemDescription( UGCUpdateHandle_t handle, const char *pchDescription ) = 0; // change the description of an UGC item
302 virtual bool SetItemUpdateLanguage( UGCUpdateHandle_t handle, const char *pchLanguage ) = 0; // specify the language of the title or description that will be set
303 virtual bool SetItemMetadata( UGCUpdateHandle_t handle, const char *pchMetaData ) = 0; // change the metadata of an UGC item (max = k_cchDeveloperMetadataMax)
304 virtual bool SetItemVisibility( UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility ) = 0; // change the visibility of an UGC item
305 virtual bool SetItemTags( UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags, bool bAllowAdminTags = false ) = 0; // change the tags of an UGC item
306 virtual bool SetItemContent( UGCUpdateHandle_t handle, const char *pszContentFolder ) = 0; // update item content from this local folder
307 virtual bool SetItemPreview( UGCUpdateHandle_t handle, const char *pszPreviewFile ) = 0; // change preview image file for this item. pszPreviewFile points to local image file, which must be under 1MB in size
308 virtual bool SetAllowLegacyUpload( UGCUpdateHandle_t handle, bool bAllowLegacyUpload ) = 0; // use legacy upload for a single small file. The parameter to SetItemContent() should either be a directory with one file or the full path to the file. The file must also be less than 10MB in size.
309 virtual bool RemoveAllItemKeyValueTags( UGCUpdateHandle_t handle ) = 0; // remove all existing key-value tags (you can add new ones via the AddItemKeyValueTag function)
310 virtual bool RemoveItemKeyValueTags( UGCUpdateHandle_t handle, const char *pchKey ) = 0; // remove any existing key-value tags with the specified key
311 virtual bool AddItemKeyValueTag( UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue ) = 0; // add new key-value tags for the item. Note that there can be multiple values for a tag.
312 virtual bool AddItemPreviewFile( UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type ) = 0; // add preview file for this item. pszPreviewFile points to local file, which must be under 1MB in size
313 virtual bool AddItemPreviewVideo( UGCUpdateHandle_t handle, const char *pszVideoID ) = 0; // add preview video for this item
314 virtual bool UpdateItemPreviewFile( UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile ) = 0; // updates an existing preview file for this item. pszPreviewFile points to local file, which must be under 1MB in size
315 virtual bool UpdateItemPreviewVideo( UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID ) = 0; // updates an existing preview video for this item
316 virtual bool RemoveItemPreview( UGCUpdateHandle_t handle, uint32 index ) = 0; // remove a preview by index starting at 0 (previews are sorted)
319 virtual bool SetRequiredGameVersions( UGCUpdateHandle_t handle, const char *pszGameBranchMin, const char *pszGameBranchMax ) = 0; // an empty string for either parameter means that it will match any version on that end of the range. This will only be applied if the actual content has been changed.
320
322 virtual SteamAPICall_t SubmitItemUpdate( UGCUpdateHandle_t handle, const char *pchChangeNote ) = 0; // commit update process started with StartItemUpdate()
323 virtual EItemUpdateStatus GetItemUpdateProgress( UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64* punBytesTotal ) = 0;
324
325 // Steam Workshop Consumer API
327 virtual SteamAPICall_t SetUserItemVote( PublishedFileId_t nPublishedFileID, bool bVoteUp ) = 0;
329 virtual SteamAPICall_t GetUserItemVote( PublishedFileId_t nPublishedFileID ) = 0;
331 virtual SteamAPICall_t AddItemToFavorites( AppId_t nAppId, PublishedFileId_t nPublishedFileID ) = 0;
333 virtual SteamAPICall_t RemoveItemFromFavorites( AppId_t nAppId, PublishedFileId_t nPublishedFileID ) = 0;
335 virtual SteamAPICall_t SubscribeItem( PublishedFileId_t nPublishedFileID ) = 0; // subscribe to this item, will be installed ASAP
337 virtual SteamAPICall_t UnsubscribeItem( PublishedFileId_t nPublishedFileID ) = 0; // unsubscribe from this item, will be uninstalled after game quits
338 virtual uint32 GetNumSubscribedItems( bool bIncludeLocallyDisabled = false ) = 0; // number of subscribed items
339 virtual uint32 GetSubscribedItems( PublishedFileId_t* pvecPublishedFileID, uint32 cMaxEntries, bool bIncludeLocallyDisabled = false ) = 0; // all subscribed item PublishFileIDs
340
341 // get EItemState flags about item on this client
342 virtual uint32 GetItemState( PublishedFileId_t nPublishedFileID ) = 0;
343
344 // get info about currently installed content on disc for items that have k_EItemStateInstalled set
345 // if k_EItemStateLegacyItem is set, pchFolder contains the path to the legacy file itself (not a folder)
346 virtual bool GetItemInstallInfo( PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, STEAM_OUT_STRING_COUNT( cchFolderSize ) char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp ) = 0;
347
348 // get info about pending update for items that have k_EItemStateNeedsUpdate set. punBytesTotal will be valid after download started once
349 virtual bool GetItemDownloadInfo( PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal ) = 0;
350
351 // download new or update already installed item. If function returns true, wait for DownloadItemResult_t. If the item is already installed,
352 // then files on disk should not be used until callback received. If item is not subscribed to, it will be cached for some time.
353 // If bHighPriority is set, any other item download will be suspended and this item downloaded ASAP.
354 virtual bool DownloadItem( PublishedFileId_t nPublishedFileID, bool bHighPriority ) = 0;
355
356 // game servers can set a specific workshop folder before issuing any UGC commands.
357 // This is helpful if you want to support multiple game servers running out of the same install folder
358 virtual bool BInitWorkshopForGameServer( DepotId_t unWorkshopDepotID, const char *pszFolder ) = 0;
359
360 // SuspendDownloads( true ) will suspend all workshop downloads until SuspendDownloads( false ) is called or the game ends
361 virtual void SuspendDownloads( bool bSuspend ) = 0;
362
363 // usage tracking
365 virtual SteamAPICall_t StartPlaytimeTracking( PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs ) = 0;
367 virtual SteamAPICall_t StopPlaytimeTracking( PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs ) = 0;
370
371 // parent-child relationship or dependency management
373 virtual SteamAPICall_t AddDependency( PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID ) = 0;
375 virtual SteamAPICall_t RemoveDependency( PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID ) = 0;
376
377 // add/remove app dependence/requirements (usually DLC)
379 virtual SteamAPICall_t AddAppDependency( PublishedFileId_t nPublishedFileID, AppId_t nAppID ) = 0;
381 virtual SteamAPICall_t RemoveAppDependency( PublishedFileId_t nPublishedFileID, AppId_t nAppID ) = 0;
382 // request app dependencies. note that whatever callback you register for GetAppDependenciesResult_t may be called multiple times
383 // until all app dependencies have been returned
385 virtual SteamAPICall_t GetAppDependencies( PublishedFileId_t nPublishedFileID ) = 0;
386
387 // delete the item without prompting the user
389 virtual SteamAPICall_t DeleteItem( PublishedFileId_t nPublishedFileID ) = 0;
390
391 // Show the app's latest Workshop EULA to the user in an overlay window, where they can accept it or not
392 virtual bool ShowWorkshopEULA() = 0;
393 // Retrieve information related to the user's acceptance or not of the app's specific Workshop EULA
396
397 // Return the user's community content descriptor preferences
398 virtual uint32 GetUserContentDescriptorPreferences( EUGCContentDescriptorID *pvecDescriptors, uint32 cMaxEntries ) = 0;
399
400 // Sets whether the item should be disabled locally or not. This means that it will not be returned in GetSubscribedItems() by default.
401 virtual bool SetItemsDisabledLocally( PublishedFileId_t *pvecPublishedFileIDs, uint32 unNumPublishedFileIDs, bool bDisabledLocally ) = 0;
402
403 // Set the local load order for these items. If there are any items not in the given list, they will sort by the time subscribed.
404 virtual bool SetSubscriptionsLoadOrder( PublishedFileId_t *pvecPublishedFileIDs, uint32 unNumPublishedFileIDs ) = 0;
405
406 // Tells the client to no longer try to keep the item in its local cache, unless it was subscribed to by other users on this machine
407 virtual bool MarkDownloadedItemAsUnused( PublishedFileId_t nPublishedFileID ) = 0;
408
409 // Returns the number of items actually downloaded locally
411
412 // Returns the ids of the items downloaded
413 virtual uint32 GetDownloadedItems( PublishedFileId_t *pvecPublishedFileIDs, uint32 cMaxEntries ) = 0;
414};
415
416#define STEAMUGC_INTERFACE_VERSION "STEAMUGC_INTERFACE_VERSION021"
417
418// Global interface accessor
421
422// Global accessor for the gameserver client
425
426//-----------------------------------------------------------------------------
427// Purpose: Callback for querying UGC
428//-----------------------------------------------------------------------------
430{
436 bool m_bCachedData; // indicates whether this data was retrieved from the local on-disk cache
437 char m_rgchNextCursor[k_cchPublishedFileURLMax]; // If a paging cursor was used, then this will be the next cursor to get the next result set.
438};
439
440
441//-----------------------------------------------------------------------------
442// Purpose: Callback for requesting details on one piece of UGC
443//-----------------------------------------------------------------------------
445{
448 bool m_bCachedData; // indicates whether this data was retrieved from the local on-disk cache
449};
450
451
452//-----------------------------------------------------------------------------
453// Purpose: result for ISteamUGC::CreateItem()
454//-----------------------------------------------------------------------------
462
463
464//-----------------------------------------------------------------------------
465// Purpose: result for ISteamUGC::SubmitItemUpdate()
466//-----------------------------------------------------------------------------
474
475
476//-----------------------------------------------------------------------------
477// Purpose: a Workshop item has been installed or updated
478//-----------------------------------------------------------------------------
487
488
489//-----------------------------------------------------------------------------
490// Purpose: result of DownloadItem(), existing item files can be accessed again
491//-----------------------------------------------------------------------------
499
500//-----------------------------------------------------------------------------
501// Purpose: result of AddItemToFavorites() or RemoveItemFromFavorites()
502//-----------------------------------------------------------------------------
510
511//-----------------------------------------------------------------------------
512// Purpose: The result of a call to SetUserItemVote()
513//-----------------------------------------------------------------------------
521
522//-----------------------------------------------------------------------------
523// Purpose: The result of a call to GetUserItemVote()
524//-----------------------------------------------------------------------------
534
535//-----------------------------------------------------------------------------
536// Purpose: The result of a call to StartPlaytimeTracking()
537//-----------------------------------------------------------------------------
543
544//-----------------------------------------------------------------------------
545// Purpose: The result of a call to StopPlaytimeTracking()
546//-----------------------------------------------------------------------------
552
553//-----------------------------------------------------------------------------
554// Purpose: The result of a call to AddDependency
555//-----------------------------------------------------------------------------
563
564//-----------------------------------------------------------------------------
565// Purpose: The result of a call to RemoveDependency
566//-----------------------------------------------------------------------------
574
575
576//-----------------------------------------------------------------------------
577// Purpose: The result of a call to AddAppDependency
578//-----------------------------------------------------------------------------
586
587//-----------------------------------------------------------------------------
588// Purpose: The result of a call to RemoveAppDependency
589//-----------------------------------------------------------------------------
597
598//-----------------------------------------------------------------------------
599// Purpose: The result of a call to GetAppDependencies. Callback may be called
600// multiple times until all app dependencies have been returned.
601//-----------------------------------------------------------------------------
611
612//-----------------------------------------------------------------------------
613// Purpose: The result of a call to DeleteItem
614//-----------------------------------------------------------------------------
621
622
623//-----------------------------------------------------------------------------
624// Purpose: signal that the list of subscribed items changed
625//-----------------------------------------------------------------------------
631
632
633//-----------------------------------------------------------------------------
634// Purpose: Status of the user's acceptable/rejection of the app's specific Workshop EULA
635//-----------------------------------------------------------------------------
646
647#pragma pack( pop )
648
649#endif // ISTEAMUGC_H
virtual bool AddRequiredKeyValueTag(UGCQueryHandle_t handle, const char *pKey, const char *pValue)=0
virtual uint32 GetQueryUGCNumKeyValueTags(UGCQueryHandle_t handle, uint32 index)=0
virtual bool GetItemDownloadInfo(PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal)=0
virtual bool GetQueryUGCResult(UGCQueryHandle_t handle, uint32 index, SteamUGCDetails_t *pDetails)=0
virtual bool SetReturnOnlyIDs(UGCQueryHandle_t handle, bool bReturnOnlyIDs)=0
virtual bool SetReturnTotalOnly(UGCQueryHandle_t handle, bool bReturnTotalOnly)=0
virtual bool AddItemPreviewVideo(UGCUpdateHandle_t handle, const char *pszVideoID)=0
virtual bool SetSubscriptionsLoadOrder(PublishedFileId_t *pvecPublishedFileIDs, uint32 unNumPublishedFileIDs)=0
virtual bool SetSearchText(UGCQueryHandle_t handle, const char *pSearchText)=0
virtual bool SetReturnKeyValueTags(UGCQueryHandle_t handle, bool bReturnKeyValueTags)=0
virtual SteamAPICall_t RemoveItemFromFavorites(AppId_t nAppId, PublishedFileId_t nPublishedFileID)=0
virtual bool SetItemTags(UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags, bool bAllowAdminTags=false)=0
virtual bool RemoveItemPreview(UGCUpdateHandle_t handle, uint32 index)=0
virtual SteamAPICall_t AddAppDependency(PublishedFileId_t nPublishedFileID, AppId_t nAppID)=0
virtual SteamAPICall_t UnsubscribeItem(PublishedFileId_t nPublishedFileID)=0
virtual uint32 GetNumSubscribedItems(bool bIncludeLocallyDisabled=false)=0
virtual bool GetItemInstallInfo(PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, STEAM_OUT_STRING_COUNT(cchFolderSize) char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp)=0
virtual bool SetMatchAnyTag(UGCQueryHandle_t handle, bool bMatchAnyTag)=0
virtual SteamAPICall_t GetAppDependencies(PublishedFileId_t nPublishedFileID)=0
virtual bool GetQueryUGCKeyValueTag(UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, STEAM_OUT_STRING_COUNT(cchKeySize) char *pchKey, uint32 cchKeySize, STEAM_OUT_STRING_COUNT(cchValueSize) char *pchValue, uint32 cchValueSize)=0
virtual bool SetItemPreview(UGCUpdateHandle_t handle, const char *pszPreviewFile)=0
virtual SteamAPICall_t GetWorkshopEULAStatus()=0
virtual SteamAPICall_t SetUserItemVote(PublishedFileId_t nPublishedFileID, bool bVoteUp)=0
virtual void SuspendDownloads(bool bSuspend)=0
virtual SteamAPICall_t RemoveDependency(PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID)=0
virtual bool ReleaseQueryUGCRequest(UGCQueryHandle_t handle)=0
virtual bool GetSupportedGameVersionData(UGCQueryHandle_t handle, uint32 index, uint32 versionIndex, STEAM_OUT_STRING_COUNT(cchGameBranchSize) char *pchGameBranchMin, STEAM_OUT_STRING_COUNT(cchGameBranchSize) char *pchGameBranchMax, uint32 cchGameBranchSize)=0
virtual bool SetReturnPlaytimeStats(UGCQueryHandle_t handle, uint32 unDays)=0
virtual bool DownloadItem(PublishedFileId_t nPublishedFileID, bool bHighPriority)=0
virtual bool AddItemPreviewFile(UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type)=0
virtual SteamAPICall_t CreateItem(AppId_t nConsumerAppId, EWorkshopFileType eFileType)=0
virtual bool SetItemContent(UGCUpdateHandle_t handle, const char *pszContentFolder)=0
virtual bool SetAdminQuery(UGCUpdateHandle_t handle, bool bAdminQuery)=0
virtual bool GetQueryUGCTagDisplayName(UGCQueryHandle_t handle, uint32 index, uint32 indexTag, STEAM_OUT_STRING_COUNT(cchValueSize) char *pchValue, uint32 cchValueSize)=0
virtual bool SetRequiredGameVersions(UGCUpdateHandle_t handle, const char *pszGameBranchMin, const char *pszGameBranchMax)=0
virtual bool RemoveItemKeyValueTags(UGCUpdateHandle_t handle, const char *pchKey)=0
virtual bool SetRankedByTrendDays(UGCQueryHandle_t handle, uint32 unDays)=0
virtual SteamAPICall_t GetUserItemVote(PublishedFileId_t nPublishedFileID)=0
virtual bool GetQueryUGCTag(UGCQueryHandle_t handle, uint32 index, uint32 indexTag, STEAM_OUT_STRING_COUNT(cchValueSize) char *pchValue, uint32 cchValueSize)=0
virtual SteamAPICall_t RequestUGCDetails(PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds)=0
virtual bool UpdateItemPreviewVideo(UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID)=0
virtual bool GetQueryUGCChildren(UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries)=0
virtual SteamAPICall_t SubscribeItem(PublishedFileId_t nPublishedFileID)=0
virtual SteamAPICall_t StartPlaytimeTracking(PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs)=0
virtual UGCQueryHandle_t CreateQueryUserUGCRequest(AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage)=0
virtual bool UpdateItemPreviewFile(UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile)=0
virtual bool AddContentDescriptor(UGCUpdateHandle_t handle, EUGCContentDescriptorID descid)=0
virtual bool SetItemDescription(UGCUpdateHandle_t handle, const char *pchDescription)=0
virtual bool GetQueryUGCMetadata(UGCQueryHandle_t handle, uint32 index, STEAM_OUT_STRING_COUNT(cchMetadatasize) char *pchMetadata, uint32 cchMetadatasize)=0
virtual SteamAPICall_t AddDependency(PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID)=0
virtual bool SetReturnMetadata(UGCQueryHandle_t handle, bool bReturnMetadata)=0
virtual bool GetQueryUGCPreviewURL(UGCQueryHandle_t handle, uint32 index, STEAM_OUT_STRING_COUNT(cchURLSize) char *pchURL, uint32 cchURLSize)=0
virtual bool ShowWorkshopEULA()=0
virtual uint32 GetNumSupportedGameVersions(UGCQueryHandle_t handle, uint32 index)=0
virtual uint32 GetDownloadedItems(PublishedFileId_t *pvecPublishedFileIDs, uint32 cMaxEntries)=0
virtual uint32 GetNumDownloadedItems()=0
virtual bool SetAllowLegacyUpload(UGCUpdateHandle_t handle, bool bAllowLegacyUpload)=0
virtual bool SetTimeUpdatedDateRange(UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd)=0
virtual bool AddRequiredTag(UGCQueryHandle_t handle, const char *pTagName)=0
virtual uint32 GetUserContentDescriptorPreferences(EUGCContentDescriptorID *pvecDescriptors, uint32 cMaxEntries)=0
virtual SteamAPICall_t RemoveAppDependency(PublishedFileId_t nPublishedFileID, AppId_t nAppID)=0
virtual bool SetItemUpdateLanguage(UGCUpdateHandle_t handle, const char *pchLanguage)=0
virtual uint32 GetQueryUGCContentDescriptors(UGCQueryHandle_t handle, uint32 index, EUGCContentDescriptorID *pvecDescriptors, uint32 cMaxEntries)=0
virtual SteamAPICall_t DeleteItem(PublishedFileId_t nPublishedFileID)=0
virtual UGCQueryHandle_t CreateQueryAllUGCRequest(EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage)=0
virtual uint32 GetItemState(PublishedFileId_t nPublishedFileID)=0
virtual bool SetReturnChildren(UGCQueryHandle_t handle, bool bReturnChildren)=0
virtual bool SetItemTitle(UGCUpdateHandle_t handle, const char *pchTitle)=0
virtual EItemUpdateStatus GetItemUpdateProgress(UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal)=0
virtual bool MarkDownloadedItemAsUnused(PublishedFileId_t nPublishedFileID)=0
virtual bool SetReturnLongDescription(UGCQueryHandle_t handle, bool bReturnLongDescription)=0
virtual bool GetQueryUGCStatistic(UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue)=0
virtual uint32 GetSubscribedItems(PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries, bool bIncludeLocallyDisabled=false)=0
virtual bool AddExcludedTag(UGCQueryHandle_t handle, const char *pTagName)=0
virtual bool AddRequiredTagGroup(UGCQueryHandle_t handle, const SteamParamStringArray_t *pTagGroups)=0
virtual SteamAPICall_t SendQueryUGCRequest(UGCQueryHandle_t handle)=0
virtual UGCQueryHandle_t CreateQueryUGCDetailsRequest(PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs)=0
virtual bool SetItemsDisabledLocally(PublishedFileId_t *pvecPublishedFileIDs, uint32 unNumPublishedFileIDs, bool bDisabledLocally)=0
virtual SteamAPICall_t StopPlaytimeTrackingForAllItems()=0
virtual bool SetItemVisibility(UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility)=0
virtual SteamAPICall_t StopPlaytimeTracking(PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs)=0
virtual bool SetCloudFileNameFilter(UGCQueryHandle_t handle, const char *pMatchCloudFileName)=0
virtual uint32 GetQueryUGCNumAdditionalPreviews(UGCQueryHandle_t handle, uint32 index)=0
virtual bool RemoveContentDescriptor(UGCUpdateHandle_t handle, EUGCContentDescriptorID descid)=0
virtual bool SetTimeCreatedDateRange(UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd)=0
virtual bool SetItemMetadata(UGCUpdateHandle_t handle, const char *pchMetaData)=0
virtual bool SetLanguage(UGCQueryHandle_t handle, const char *pchLanguage)=0
virtual bool GetQueryUGCAdditionalPreview(UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, STEAM_OUT_STRING_COUNT(cchURLSize) char *pchURLOrVideoID, uint32 cchURLSize, STEAM_OUT_STRING_COUNT(cchOriginalFileNameSize) char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType)=0
virtual bool AddItemKeyValueTag(UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue)=0
virtual SteamAPICall_t AddItemToFavorites(AppId_t nAppId, PublishedFileId_t nPublishedFileID)=0
virtual bool SetAllowCachedResponse(UGCQueryHandle_t handle, uint32 unMaxAgeSeconds)=0
virtual bool RemoveAllItemKeyValueTags(UGCUpdateHandle_t handle)=0
virtual SteamAPICall_t SubmitItemUpdate(UGCUpdateHandle_t handle, const char *pchChangeNote)=0
virtual UGCUpdateHandle_t StartItemUpdate(AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID)=0
virtual bool BInitWorkshopForGameServer(DepotId_t unWorkshopDepotID, const char *pszFolder)=0
virtual bool SetReturnAdditionalPreviews(UGCQueryHandle_t handle, bool bReturnAdditionalPreviews)=0
virtual uint32 GetQueryUGCNumTags(UGCQueryHandle_t handle, uint32 index)=0
EWorkshopFileType
const uint32 k_cchPublishedDocumentDescriptionMax
const uint32 k_cchFilenameMax
uint64 UGCHandle_t
const uint32 k_cchTagListMax
const uint32 k_cchPublishedDocumentTitleMax
ERemoteStoragePublishedFileVisibility
const uint32 k_cchPublishedFileURLMax
uint64 PublishedFileId_t
EUGCMatchingUGCType
Definition isteamugc.h:36
@ k_EUGCMatchingUGCType_ControllerBindings
Definition isteamugc.h:48
@ k_EUGCMatchingUGCType_Items_Mtx
Definition isteamugc.h:38
@ k_EUGCMatchingUGCType_Items_ReadyToUse
Definition isteamugc.h:39
@ k_EUGCMatchingUGCType_Screenshots
Definition isteamugc.h:43
@ k_EUGCMatchingUGCType_Artwork
Definition isteamugc.h:41
@ k_EUGCMatchingUGCType_UsableInGame
Definition isteamugc.h:47
@ k_EUGCMatchingUGCType_Items
Definition isteamugc.h:37
@ k_EUGCMatchingUGCType_WebGuides
Definition isteamugc.h:45
@ k_EUGCMatchingUGCType_Videos
Definition isteamugc.h:42
@ k_EUGCMatchingUGCType_Collections
Definition isteamugc.h:40
@ k_EUGCMatchingUGCType_GameManagedItems
Definition isteamugc.h:49
@ k_EUGCMatchingUGCType_All
Definition isteamugc.h:50
@ k_EUGCMatchingUGCType_IntegratedGuides
Definition isteamugc.h:46
@ k_EUGCMatchingUGCType_AllGuides
Definition isteamugc.h:44
uint64 UGCQueryHandle_t
Definition isteamugc.h:26
EUGCQuery
Definition isteamugc.h:82
@ k_EUGCQuery_RankedByTextSearch
Definition isteamugc.h:94
@ k_EUGCQuery_RankedByPublicationDate
Definition isteamugc.h:84
@ k_EUGCQuery_RankedByLifetimeAveragePlaytime
Definition isteamugc.h:99
@ k_EUGCQuery_RankedByVote
Definition isteamugc.h:83
@ k_EUGCQuery_RankedByTotalUniqueSubscriptions
Definition isteamugc.h:95
@ k_EUGCQuery_RankedByVotesUp
Definition isteamugc.h:93
@ k_EUGCQuery_RankedByAveragePlaytimeTrend
Definition isteamugc.h:98
@ k_EUGCQuery_RankedByPlaytimeSessionsTrend
Definition isteamugc.h:100
@ k_EUGCQuery_RankedByNumTimesReported
Definition isteamugc.h:89
@ k_EUGCQuery_RankedByNumParentItems
Definition isteamugc.h:103
@ k_EUGCQuery_RankedByTotalPlaytime
Definition isteamugc.h:97
@ k_EUGCQuery_CreatedByFriendsRankedByPublicationDate
Definition isteamugc.h:88
@ k_EUGCQuery_CreatedByFollowedUsersRankedByPublicationDate
Definition isteamugc.h:90
@ k_EUGCQuery_RankedByLastUpdatedDate
Definition isteamugc.h:102
@ k_EUGCQuery_RankedByTotalVotesAsc
Definition isteamugc.h:92
@ k_EUGCQuery_RankedByNumParentCollections
Definition isteamugc.h:104
@ k_EUGCQuery_RankedByTrend
Definition isteamugc.h:86
@ k_EUGCQuery_AcceptedForGameRankedByAcceptanceDate
Definition isteamugc.h:85
@ k_EUGCQuery_NotYetRated
Definition isteamugc.h:91
@ k_EUGCQuery_RankedByPlaytimeTrend
Definition isteamugc.h:96
@ k_EUGCQuery_FavoritedByFriendsRankedByPublicationDate
Definition isteamugc.h:87
@ k_EUGCQuery_RankedByLifetimePlaytimeSessions
Definition isteamugc.h:101
EItemState
Definition isteamugc.h:118
@ k_EItemStateDisabledLocally
Definition isteamugc.h:126
@ k_EItemStateLegacyItem
Definition isteamugc.h:121
@ k_EItemStateDownloadPending
Definition isteamugc.h:125
@ k_EItemStateSubscribed
Definition isteamugc.h:120
@ k_EItemStateNone
Definition isteamugc.h:119
@ k_EItemStateInstalled
Definition isteamugc.h:122
@ k_EItemStateNeedsUpdate
Definition isteamugc.h:123
@ k_EItemStateDownloading
Definition isteamugc.h:124
const UGCQueryHandle_t k_UGCQueryHandleInvalid
Definition isteamugc.h:30
EItemUpdateStatus
Definition isteamugc.h:108
@ k_EItemUpdateStatusPreparingConfig
Definition isteamugc.h:110
@ k_EItemUpdateStatusPreparingContent
Definition isteamugc.h:111
@ k_EItemUpdateStatusCommittingChanges
Definition isteamugc.h:114
@ k_EItemUpdateStatusInvalid
Definition isteamugc.h:109
@ k_EItemUpdateStatusUploadingContent
Definition isteamugc.h:112
@ k_EItemUpdateStatusUploadingPreviewFile
Definition isteamugc.h:113
const uint32 k_cchDeveloperMetadataMax
Definition isteamugc.h:174
ISteamUGC * SteamGameServerUGC()
#define STEAMUGC_INTERFACE_VERSION
Definition isteamugc.h:416
EItemPreviewType
Definition isteamugc.h:147
@ k_EItemPreviewType_Clip
Definition isteamugc.h:160
@ k_EItemPreviewType_YouTubeVideo
Definition isteamugc.h:149
@ k_EItemPreviewType_EnvironmentMap_LatLong
Definition isteamugc.h:159
@ k_EItemPreviewType_Sketchfab
Definition isteamugc.h:150
@ k_EItemPreviewType_EnvironmentMap_HorizontalCross
Definition isteamugc.h:151
@ k_EItemPreviewType_ReservedMax
Definition isteamugc.h:161
@ k_EItemPreviewType_Image
Definition isteamugc.h:148
EUserUGCList
Definition isteamugc.h:56
@ k_EUserUGCList_Subscribed
Definition isteamugc.h:63
@ k_EUserUGCList_Published
Definition isteamugc.h:57
@ k_EUserUGCList_UsedOrPlayed
Definition isteamugc.h:64
@ k_EUserUGCList_Favorited
Definition isteamugc.h:62
@ k_EUserUGCList_VotedDown
Definition isteamugc.h:60
@ k_EUserUGCList_WillVoteLater
Definition isteamugc.h:61
@ k_EUserUGCList_Followed
Definition isteamugc.h:65
@ k_EUserUGCList_VotedUp
Definition isteamugc.h:59
@ k_EUserUGCList_VotedOn
Definition isteamugc.h:58
ISteamUGC * SteamUGC()
const UGCUpdateHandle_t k_UGCUpdateHandleInvalid
Definition isteamugc.h:31
EItemStatistic
Definition isteamugc.h:130
@ k_EItemStatistic_NumUniqueFavorites
Definition isteamugc.h:135
@ k_EItemStatistic_NumSubscriptions
Definition isteamugc.h:131
@ k_EItemStatistic_NumUniqueWebsiteViews
Definition isteamugc.h:137
@ k_EItemStatistic_NumPlaytimeSessionsDuringTimePeriod
Definition isteamugc.h:143
@ k_EItemStatistic_NumPlaytimeSessions
Definition isteamugc.h:140
@ k_EItemStatistic_NumSecondsPlayed
Definition isteamugc.h:139
@ k_EItemStatistic_NumUniqueSubscriptions
Definition isteamugc.h:134
@ k_EItemStatistic_NumFollowers
Definition isteamugc.h:133
@ k_EItemStatistic_NumFavorites
Definition isteamugc.h:132
@ k_EItemStatistic_ReportScore
Definition isteamugc.h:138
@ k_EItemStatistic_NumComments
Definition isteamugc.h:141
@ k_EItemStatistic_NumUniqueFollowers
Definition isteamugc.h:136
@ k_EItemStatistic_NumSecondsPlayedDuringTimePeriod
Definition isteamugc.h:142
uint64 UGCUpdateHandle_t
Definition isteamugc.h:27
EUGCContentDescriptorID
Definition isteamugc.h:165
@ k_EUGCContentDescriptor_AnyMatureContent
Definition isteamugc.h:170
@ k_EUGCContentDescriptor_FrequentViolenceOrGore
Definition isteamugc.h:167
@ k_EUGCContentDescriptor_AdultOnlySexualContent
Definition isteamugc.h:168
@ k_EUGCContentDescriptor_NudityOrSexualContent
Definition isteamugc.h:166
@ k_EUGCContentDescriptor_GratuitousSexualContent
Definition isteamugc.h:169
EUserUGCListSortOrder
Definition isteamugc.h:70
@ k_EUserUGCListSortOrder_CreationOrderAsc
Definition isteamugc.h:72
@ k_EUserUGCListSortOrder_TitleAsc
Definition isteamugc.h:73
@ k_EUserUGCListSortOrder_ForModeration
Definition isteamugc.h:77
@ k_EUserUGCListSortOrder_SubscriptionDateDesc
Definition isteamugc.h:75
@ k_EUserUGCListSortOrder_VoteScoreDesc
Definition isteamugc.h:76
@ k_EUserUGCListSortOrder_CreationOrderDesc
Definition isteamugc.h:71
@ k_EUserUGCListSortOrder_LastUpdatedDesc
Definition isteamugc.h:74
const uint32 kNumUGCResultsPerPage
Definition isteamugc.h:173
const char *typedef uint32(S_CALLTYPE *SteamAPI_CheckCallbackRegistered_t)(int iCallbackNum)
@ k_iSteamUGCCallbacks
#define STEAM_DEFINE_USER_INTERFACE_ACCESSOR(type, name, version)
#define STEAM_FLAT_NAME(NAME)
#define STEAM_CALL_RESULT(RESULT_TYPE)
#define STEAM_OUT_STRING_COUNT(COUNTER)
#define STEAM_DEFINE_GAMESERVER_INTERFACE_ACCESSOR(type, name, version)
uint32 AppId_t
Definition steamtypes.h:81
uint32 RTime32
Definition steamtypes.h:90
unsigned long long uint64
Definition steamtypes.h:60
int int32
Definition steamtypes.h:57
uint64 SteamAPICall_t
Definition steamtypes.h:93
uint32 AccountID_t
Definition steamtypes.h:96
uint32 DepotId_t
Definition steamtypes.h:85
PublishedFileId_t m_nPublishedFileId
Definition isteamugc.h:583
PublishedFileId_t m_nChildPublishedFileId
Definition isteamugc.h:561
PublishedFileId_t m_nPublishedFileId
Definition isteamugc.h:560
bool m_bUserNeedsToAcceptWorkshopLegalAgreement
Definition isteamugc.h:460
PublishedFileId_t m_nPublishedFileId
Definition isteamugc.h:459
PublishedFileId_t m_nPublishedFileId
Definition isteamugc.h:619
PublishedFileId_t m_nPublishedFileId
Definition isteamugc.h:496
PublishedFileId_t m_nPublishedFileId
Definition isteamugc.h:606
PublishedFileId_t m_nPublishedFileId
Definition isteamugc.h:528
AppId_t m_unAppID
Definition isteamugc.h:482
uint64 m_unManifestID
Definition isteamugc.h:485
PublishedFileId_t m_nPublishedFileId
Definition isteamugc.h:483
UGCHandle_t m_hLegacyContent
Definition isteamugc.h:484
PublishedFileId_t m_nPublishedFileId
Definition isteamugc.h:594
PublishedFileId_t m_nPublishedFileId
Definition isteamugc.h:571
PublishedFileId_t m_nChildPublishedFileId
Definition isteamugc.h:572
PublishedFileId_t m_nPublishedFileId
Definition isteamugc.h:517
int32 m_nPreviewFileSize
Definition isteamugc.h:200
UGCHandle_t m_hPreviewFile
Definition isteamugc.h:197
uint64 m_ulSteamIDOwner
Definition isteamugc.h:186
char m_rgchURL[k_cchPublishedFileURLMax]
Definition isteamugc.h:201
uint32 m_rtimeAddedToUserList
Definition isteamugc.h:189
uint64 m_ulTotalFilesSize
Definition isteamugc.h:208
uint32 m_unNumChildren
Definition isteamugc.h:207
char m_rgchDescription[k_cchPublishedDocumentDescriptionMax]
Definition isteamugc.h:185
ERemoteStoragePublishedFileVisibility m_eVisibility
Definition isteamugc.h:190
uint32 m_rtimeCreated
Definition isteamugc.h:187
AppId_t m_nCreatorAppID
Definition isteamugc.h:182
char m_rgchTitle[k_cchPublishedDocumentTitleMax]
Definition isteamugc.h:184
UGCHandle_t m_hFile
Definition isteamugc.h:196
PublishedFileId_t m_nPublishedFileId
Definition isteamugc.h:179
AppId_t m_nConsumerAppID
Definition isteamugc.h:183
uint32 m_rtimeUpdated
Definition isteamugc.h:188
EWorkshopFileType m_eFileType
Definition isteamugc.h:181
char m_rgchTags[k_cchTagListMax]
Definition isteamugc.h:194
char m_pchFileName[k_cchFilenameMax]
Definition isteamugc.h:198
char m_rgchNextCursor[k_cchPublishedFileURLMax]
Definition isteamugc.h:437
UGCQueryHandle_t m_handle
Definition isteamugc.h:432
bool m_bUserNeedsToAcceptWorkshopLegalAgreement
Definition isteamugc.h:471
PublishedFileId_t m_nPublishedFileId
Definition isteamugc.h:472
PublishedFileId_t m_nPublishedFileId
Definition isteamugc.h:506