* applicable) */
u32 m_rtimeAddedToUserList;
ERemoteStoragePublishedFileVisibility m_eVisibility; /* visibility */
- int m_bBanned; /* whether the file was banned */
+ steamapi_bool m_bBanned; /* whether the file was banned */
/* developer has specifically flagged this item as accepted in the Workshop*/
- int m_bAcceptedForUse;
+ steamapi_bool m_bAcceptedForUse;
/* whether the list of tags was too long to be returned in the provided
* buffer */
- int m_bTagsTruncated;
+ steamapi_bool m_bTagsTruncated;
/* comma separated list of all tags associated with this file */
char m_rgchTags[k_cchTagListMax];
u32 m_unTotalMatchingResults;
/* indicates whether this data was retrieved from the local on-disk cache */
- int m_bCachedData;
+ steamapi_bool m_bCachedData;
/* If a paging cursor was used, then this will be the next cursor to get the
* next result set. */
SteamUGCDetails_t m_details;
/* indicates whether this data was retrieved from the local on-disk cache */
- int m_bCachedData;
+ steamapi_bool m_bCachedData;
};
enum { k_iSteamUGCRequestUGCDetailsResult = k_iSteamUGCCallbacks + 2 };
/* new item got this UGC PublishFileID */
PublishedFileId_t m_nPublishedFileId;
- int m_bUserNeedsToAcceptWorkshopLegalAgreement;
+ steamapi_bool m_bUserNeedsToAcceptWorkshopLegalAgreement;
};
enum { k_iCreateItemResult = k_iSteamUGCCallbacks + 3 };
typedef struct SubmitItemUpdateResult_t SubmitItemUpdateResult_t;
struct SubmitItemUpdateResult_t{
EResult m_eResult;
- int m_bUserNeedsToAcceptWorkshopLegalAgreement;
+ steamapi_bool m_bUserNeedsToAcceptWorkshopLegalAgreement;
PublishedFileId_t m_nPublishedFileId;
};
enum { k_iSubmitItemUpdateResult = k_iSteamUGCCallbacks + 4 };
struct UserFavoriteItemsListChanged_t{
PublishedFileId_t m_nPublishedFileId;
EResult m_eResult;
- int m_bWasAddRequest;
+ steamapi_bool m_bWasAddRequest;
};
enum { k_iUserFavoriteItemsListChanged = k_iSteamUGCCallbacks + 7 };
struct SetUserItemVoteResult_t{
PublishedFileId_t m_nPublishedFileId;
EResult m_eResult;
- int m_bVoteUp;
+ steamapi_bool m_bVoteUp;
};
enum { k_iSetUserItemVoteResult = k_iSteamUGCCallbacks + 8 };
struct GetUserItemVoteResult_t{
PublishedFileId_t m_nPublishedFileId;
EResult m_eResult;
- int m_bVotedUp;
- int m_bVotedDown;
- int m_bVoteSkipped;
+ steamapi_bool m_bVotedUp;
+ steamapi_bool m_bVotedDown;
+ steamapi_bool m_bVoteSkipped;
};
enum { k_iGetUserItemVoteResult = k_iSteamUGCCallbacks + 9 };
AppId_t m_nAppID;
u32 m_unVersion;
RTime32 m_rtAction;
- int m_bAccepted;
- int m_bNeedsAction;
+ steamapi_bool m_bAccepted;
+ steamapi_bool m_bNeedsAction;
};
enum { k_iWorkshopEULAStatus = k_iSteamUGCCallbacks + 20 };
SteamAPICall_t SteamAPI_ISteamUGC_SendQueryUGCRequest( ISteamUGC* self,
UGCQueryHandle_t handle );
-int SteamAPI_ISteamUGC_GetQueryUGCResult(
+steamapi_bool SteamAPI_ISteamUGC_GetQueryUGCResult(
ISteamUGC *self, UGCQueryHandle_t handle, u32 index,
SteamUGCDetails_t *pDetails );
u32 SteamAPI_ISteamUGC_GetQueryUGCNumTags( ISteamUGC* self,
UGCQueryHandle_t handle, u32 index );
-int SteamAPI_ISteamUGC_GetQueryUGCTag(
+steamapi_bool SteamAPI_ISteamUGC_GetQueryUGCTag(
ISteamUGC* self, UGCQueryHandle_t handle, u32 index, u32 indexTag,
char * pchValue, u32 cchValueSize );
-int SteamAPI_ISteamUGC_GetQueryUGCTagDisplayName( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_GetQueryUGCTagDisplayName( ISteamUGC* self,
UGCQueryHandle_t handle, u32 index, u32 indexTag, char * pchValue,
u32 cchValueSize );
-int SteamAPI_ISteamUGC_GetQueryUGCPreviewURL( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_GetQueryUGCPreviewURL( ISteamUGC* self,
UGCQueryHandle_t handle, u32 index, char * pchURL, u32 cchURLSize );
-int SteamAPI_ISteamUGC_GetQueryUGCMetadata( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_GetQueryUGCMetadata( ISteamUGC* self,
UGCQueryHandle_t handle, u32 index, char * pchMetadata,
u32 cchMetadatasize );
-int SteamAPI_ISteamUGC_GetQueryUGCChildren( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_GetQueryUGCChildren( ISteamUGC* self,
UGCQueryHandle_t handle, u32 index,
PublishedFileId_t *pvecPublishedFileID, u32 cMaxEntries );
-int SteamAPI_ISteamUGC_GetQueryUGCStatistic( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_GetQueryUGCStatistic( ISteamUGC* self,
UGCQueryHandle_t handle, u32 index, EItemStatistic eStatType,
u64 *pStatValue );
u32 SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews( ISteamUGC* self,
UGCQueryHandle_t handle, u32 index );
-int SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview( ISteamUGC* self,
UGCQueryHandle_t handle, u32 index, u32 previewIndex,
char *pchURLOrVideoID, u32 cchURLSize, char *pchOriginalFileName,
u32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType );
u32 SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags( ISteamUGC* self,
UGCQueryHandle_t handle, u32 index );
-int SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag( ISteamUGC* self,
UGCQueryHandle_t handle, u32 index, u32 keyValueTagIndex, char *pchKey,
u32 cchKeySize, char * pchValue, u32 cchValueSize );
-int SteamAPI_ISteamUGC_GetQueryFirstUGCKeyValueTag( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_GetQueryFirstUGCKeyValueTag( ISteamUGC* self,
UGCQueryHandle_t handle, u32 index, const char *pchKey, char *pchValue,
u32 cchValueSize );
-int SteamAPI_ISteamUGC_ReleaseQueryUGCRequest( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_ReleaseQueryUGCRequest( ISteamUGC* self,
UGCQueryHandle_t handle );
-int SteamAPI_ISteamUGC_AddRequiredTag( ISteamUGC* self, UGCQueryHandle_t handle,
- const char * pTagName );
+steamapi_bool SteamAPI_ISteamUGC_AddRequiredTag( ISteamUGC* self,
+ UGCQueryHandle_t handle, const char * pTagName );
-int SteamAPI_ISteamUGC_AddRequiredTagGroup( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_AddRequiredTagGroup( ISteamUGC* self,
UGCQueryHandle_t handle, const SteamParamStringArray_t * pTagGroups );
-int SteamAPI_ISteamUGC_AddExcludedTag( ISteamUGC* self, UGCQueryHandle_t handle,
- const char * pTagName );
+steamapi_bool SteamAPI_ISteamUGC_AddExcludedTag( ISteamUGC* self,
+ UGCQueryHandle_t handle, const char * pTagName );
-int SteamAPI_ISteamUGC_SetReturnOnlyIDs( ISteamUGC* self,
- UGCQueryHandle_t handle, int bReturnOnlyIDs );
+steamapi_bool SteamAPI_ISteamUGC_SetReturnOnlyIDs( ISteamUGC* self,
+ UGCQueryHandle_t handle, steamapi_bool bReturnOnlyIDs );
-int SteamAPI_ISteamUGC_SetReturnKeyValueTags( ISteamUGC* self,
- UGCQueryHandle_t handle, int bReturnKeyValueTags );
+steamapi_bool SteamAPI_ISteamUGC_SetReturnKeyValueTags( ISteamUGC* self,
+ UGCQueryHandle_t handle, steamapi_bool bReturnKeyValueTags );
-int SteamAPI_ISteamUGC_SetReturnLongDescription( ISteamUGC* self,
- UGCQueryHandle_t handle, int bReturnLongDescription );
+steamapi_bool SteamAPI_ISteamUGC_SetReturnLongDescription( ISteamUGC* self,
+ UGCQueryHandle_t handle, steamapi_bool bReturnLongDescription );
-int SteamAPI_ISteamUGC_SetReturnMetadata( ISteamUGC* self,
- UGCQueryHandle_t handle, int bReturnMetadata );
+steamapi_bool SteamAPI_ISteamUGC_SetReturnMetadata( ISteamUGC* self,
+ UGCQueryHandle_t handle, steamapi_bool bReturnMetadata );
-int SteamAPI_ISteamUGC_SetReturnChildren( ISteamUGC* self,
- UGCQueryHandle_t handle, int bReturnChildren );
+steamapi_bool SteamAPI_ISteamUGC_SetReturnChildren( ISteamUGC* self,
+ UGCQueryHandle_t handle, steamapi_bool bReturnChildren );
-int SteamAPI_ISteamUGC_SetReturnAdditionalPreviews( ISteamUGC* self,
- UGCQueryHandle_t handle, int bReturnAdditionalPreviews );
+steamapi_bool SteamAPI_ISteamUGC_SetReturnAdditionalPreviews( ISteamUGC* self,
+ UGCQueryHandle_t handle, steamapi_bool bReturnAdditionalPreviews );
-int SteamAPI_ISteamUGC_SetReturnTotalOnly( ISteamUGC* self,
- UGCQueryHandle_t handle, int bReturnTotalOnly );
+steamapi_bool SteamAPI_ISteamUGC_SetReturnTotalOnly( ISteamUGC* self,
+ UGCQueryHandle_t handle, steamapi_bool bReturnTotalOnly );
-int SteamAPI_ISteamUGC_SetReturnPlaytimeStats( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_SetReturnPlaytimeStats( ISteamUGC* self,
UGCQueryHandle_t handle, u32 unDays );
-int SteamAPI_ISteamUGC_SetLanguage( ISteamUGC* self, UGCQueryHandle_t handle,
- const char * pchLanguage );
+steamapi_bool SteamAPI_ISteamUGC_SetLanguage( ISteamUGC* self,
+ UGCQueryHandle_t handle, const char * pchLanguage );
-int SteamAPI_ISteamUGC_SetAllowCachedResponse( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_SetAllowCachedResponse( ISteamUGC* self,
UGCQueryHandle_t handle, u32 unMaxAgeSeconds );
-int SteamAPI_ISteamUGC_SetCloudFileNameFilter( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_SetCloudFileNameFilter( ISteamUGC* self,
UGCQueryHandle_t handle, const char * pMatchCloudFileName );
-int SteamAPI_ISteamUGC_SetMatchAnyTag( ISteamUGC* self, UGCQueryHandle_t handle,
- int bMatchAnyTag );
+steamapi_bool SteamAPI_ISteamUGC_SetMatchAnyTag( ISteamUGC* self,
+ UGCQueryHandle_t handle, steamapi_bool bMatchAnyTag );
-int SteamAPI_ISteamUGC_SetSearchText( ISteamUGC* self, UGCQueryHandle_t handle,
- const char * pSearchText );
+steamapi_bool SteamAPI_ISteamUGC_SetSearchText( ISteamUGC* self,
+ UGCQueryHandle_t handle, const char * pSearchText );
-int SteamAPI_ISteamUGC_SetRankedByTrendDays( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_SetRankedByTrendDays( ISteamUGC* self,
UGCQueryHandle_t handle, u32 unDays );
-int SteamAPI_ISteamUGC_SetTimeCreatedDateRange( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_SetTimeCreatedDateRange( ISteamUGC* self,
UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd );
-int SteamAPI_ISteamUGC_SetTimeUpdatedDateRange( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_SetTimeUpdatedDateRange( ISteamUGC* self,
UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd );
-int SteamAPI_ISteamUGC_AddRequiredKeyValueTag( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_AddRequiredKeyValueTag( ISteamUGC* self,
UGCQueryHandle_t handle, const char * pKey, const char * pValue );
SteamAPICall_t SteamAPI_ISteamUGC_RequestUGCDetails( ISteamUGC* self,
UGCUpdateHandle_t SteamAPI_ISteamUGC_StartItemUpdate( ISteamUGC* self,
AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID );
-int SteamAPI_ISteamUGC_SetItemTitle( ISteamUGC* self, UGCUpdateHandle_t handle,
- const char * pchTitle );
+steamapi_bool SteamAPI_ISteamUGC_SetItemTitle( ISteamUGC* self,
+ UGCUpdateHandle_t handle, const char * pchTitle );
-int SteamAPI_ISteamUGC_SetItemDescription( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_SetItemDescription( ISteamUGC* self,
UGCUpdateHandle_t handle, const char * pchDescription );
-int SteamAPI_ISteamUGC_SetItemUpdateLanguage( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_SetItemUpdateLanguage( ISteamUGC* self,
UGCUpdateHandle_t handle, const char * pchLanguage );
-int SteamAPI_ISteamUGC_SetItemMetadata( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_SetItemMetadata( ISteamUGC* self,
UGCUpdateHandle_t handle, const char * pchMetaData );
-int SteamAPI_ISteamUGC_SetItemVisibility( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_SetItemVisibility( ISteamUGC* self,
UGCUpdateHandle_t handle,
ERemoteStoragePublishedFileVisibility eVisibility );
-int SteamAPI_ISteamUGC_SetItemTags( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_SetItemTags( ISteamUGC* self,
UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags );
-int SteamAPI_ISteamUGC_SetItemContent( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_SetItemContent( ISteamUGC* self,
UGCUpdateHandle_t handle, const char * pszContentFolder );
-int SteamAPI_ISteamUGC_SetItemPreview( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_SetItemPreview( ISteamUGC* self,
UGCUpdateHandle_t handle, const char * pszPreviewFile );
-int SteamAPI_ISteamUGC_SetAllowLegacyUpload( ISteamUGC* self,
- UGCUpdateHandle_t handle, int bAllowLegacyUpload );
+steamapi_bool SteamAPI_ISteamUGC_SetAllowLegacyUpload( ISteamUGC* self,
+ UGCUpdateHandle_t handle, steamapi_bool bAllowLegacyUpload );
-int SteamAPI_ISteamUGC_RemoveAllItemKeyValueTags( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_RemoveAllItemKeyValueTags( ISteamUGC* self,
UGCUpdateHandle_t handle );
-int SteamAPI_ISteamUGC_RemoveItemKeyValueTags( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_RemoveItemKeyValueTags( ISteamUGC* self,
UGCUpdateHandle_t handle, const char * pchKey );
-int SteamAPI_ISteamUGC_AddItemKeyValueTag( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_AddItemKeyValueTag( ISteamUGC* self,
UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue );
-int SteamAPI_ISteamUGC_AddItemPreviewFile( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_AddItemPreviewFile( ISteamUGC* self,
UGCUpdateHandle_t handle, const char * pszPreviewFile,
EItemPreviewType type );
-int SteamAPI_ISteamUGC_AddItemPreviewVideo( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_AddItemPreviewVideo( ISteamUGC* self,
UGCUpdateHandle_t handle, const char * pszVideoID );
-int SteamAPI_ISteamUGC_UpdateItemPreviewFile( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_UpdateItemPreviewFile( ISteamUGC* self,
UGCUpdateHandle_t handle, u32 index, const char * pszPreviewFile );
-int SteamAPI_ISteamUGC_UpdateItemPreviewVideo( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_UpdateItemPreviewVideo( ISteamUGC* self,
UGCUpdateHandle_t handle, u32 index, const char * pszVideoID );
-int SteamAPI_ISteamUGC_RemoveItemPreview( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_RemoveItemPreview( ISteamUGC* self,
UGCUpdateHandle_t handle, u32 index );
SteamAPICall_t SteamAPI_ISteamUGC_SubmitItemUpdate( ISteamUGC* self,
UGCUpdateHandle_t handle, u64 * punBytesProcessed, u64 * punBytesTotal );
SteamAPICall_t SteamAPI_ISteamUGC_SetUserItemVote( ISteamUGC* self,
- PublishedFileId_t nPublishedFileID, int bVoteUp );
+ PublishedFileId_t nPublishedFileID, steamapi_bool bVoteUp );
SteamAPICall_t SteamAPI_ISteamUGC_GetUserItemVote( ISteamUGC* self,
PublishedFileId_t nPublishedFileID );
u32 SteamAPI_ISteamUGC_GetItemState( ISteamUGC* self,
PublishedFileId_t nPublishedFileID );
-int SteamAPI_ISteamUGC_GetItemInstallInfo( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_GetItemInstallInfo( ISteamUGC* self,
PublishedFileId_t nPublishedFileID, u64 * punSizeOnDisk, char * pchFolder,
u32 cchFolderSize, u32 * punTimeStamp );
-int SteamAPI_ISteamUGC_GetItemDownloadInfo( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_GetItemDownloadInfo( ISteamUGC* self,
PublishedFileId_t nPublishedFileID, u64 * punBytesDownloaded,
u64 * punBytesTotal );
-int SteamAPI_ISteamUGC_DownloadItem( ISteamUGC* self,
- PublishedFileId_t nPublishedFileID, int bHighPriority );
+steamapi_bool SteamAPI_ISteamUGC_DownloadItem( ISteamUGC* self,
+ PublishedFileId_t nPublishedFileID, steamapi_bool bHighPriority );
-int SteamAPI_ISteamUGC_BInitWorkshopForGameServer( ISteamUGC* self,
+steamapi_bool SteamAPI_ISteamUGC_BInitWorkshopForGameServer( ISteamUGC* self,
DepotId_t unWorkshopDepotID, const char * pszFolder );
-void SteamAPI_ISteamUGC_SuspendDownloads( ISteamUGC* self, int bSuspend );
+void SteamAPI_ISteamUGC_SuspendDownloads( ISteamUGC* self,
+ steamapi_bool bSuspend );
SteamAPICall_t SteamAPI_ISteamUGC_StartPlaytimeTracking( ISteamUGC* self,
PublishedFileId_t * pvecPublishedFileID, u32 unNumPublishedFileIDs );
SteamAPICall_t SteamAPI_ISteamUGC_DeleteItem( ISteamUGC* self,
PublishedFileId_t nPublishedFileID );
-int SteamAPI_ISteamUGC_ShowWorkshopEULA( ISteamUGC* self );
+steamapi_bool SteamAPI_ISteamUGC_ShowWorkshopEULA( ISteamUGC* self );
SteamAPICall_t SteamAPI_ISteamUGC_GetWorkshopEULAStatus( ISteamUGC* self );