mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-28 23:55:52 +03:00
6b21c32d2a
CW-Bug-Id: #22729
270 lines
16 KiB
C++
270 lines
16 KiB
C++
#include "steam_defs.h"
|
|
#pragma push_macro("__cdecl")
|
|
#undef __cdecl
|
|
#define __cdecl
|
|
#include "steamworks_sdk_133x/steam_api.h"
|
|
#pragma pop_macro("__cdecl")
|
|
#include "steamclient_private.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#define SDKVER_133x
|
|
#include "struct_converters.h"
|
|
#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.h"
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUserUGCRequest( (AccountID_t)params->unAccountID, (EUserUGCList)params->eListType, (EUGCMatchingUGCType)params->eMatchingUGCType, (EUserUGCListSortOrder)params->eSortOrder, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryAllUGCRequest( (EUGCQuery)params->eQueryType, (EUGCMatchingUGCType)params->eMatchingeMatchingUGCTypeFileType, (AppId_t)params->nCreatorAppID, (AppId_t)params->nConsumerAppID, (uint32)params->unPage );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->CreateQueryUGCDetailsRequest( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->unNumPublishedFileIDs );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SendQueryUGCRequest( (UGCQueryHandle_t)params->handle );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult_params *params )
|
|
{
|
|
SteamUGCDetails_t lin_pDetails;
|
|
win_to_lin_struct_SteamUGCDetails_t_133x( params->pDetails, &lin_pDetails );
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCResult( (UGCQueryHandle_t)params->handle, (uint32)params->index, &lin_pDetails );
|
|
lin_to_win_struct_SteamUGCDetails_t_133x( &lin_pDetails, params->pDetails );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCPreviewURL( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchURL, (uint32)params->cchURLSize );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCMetadata( (UGCQueryHandle_t)params->handle, (uint32)params->index, (char *)params->pchMetadata, (uint32)params->cchMetadatasize );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCChildren( (UGCQueryHandle_t)params->handle, (uint32)params->index, (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCStatistic( (UGCQueryHandle_t)params->handle, (uint32)params->index, (EItemStatistic)params->eStatType, (uint32 *)params->pStatValue );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCNumAdditionalPreviews( (UGCQueryHandle_t)params->handle, (uint32)params->index );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->GetQueryUGCAdditionalPreview( (UGCQueryHandle_t)params->handle, (uint32)params->index, (uint32)params->previewIndex, (char *)params->pchURLOrVideoID, (uint32)params->cchURLSize, (bool *)params->pbIsImage );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->ReleaseQueryUGCRequest( (UGCQueryHandle_t)params->handle );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->AddRequiredTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->AddExcludedTag( (UGCQueryHandle_t)params->handle, (const char *)params->pTagName );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnLongDescription( (UGCQueryHandle_t)params->handle, (bool)params->bReturnLongDescription );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnMetadata( (UGCQueryHandle_t)params->handle, (bool)params->bReturnMetadata );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnChildren( (UGCQueryHandle_t)params->handle, (bool)params->bReturnChildren );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnAdditionalPreviews( (UGCQueryHandle_t)params->handle, (bool)params->bReturnAdditionalPreviews );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SetReturnTotalOnly( (UGCQueryHandle_t)params->handle, (bool)params->bReturnTotalOnly );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SetLanguage( (UGCQueryHandle_t)params->handle, (const char *)params->pchLanguage );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SetAllowCachedResponse( (UGCQueryHandle_t)params->handle, (uint32)params->unMaxAgeSeconds );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SetCloudFileNameFilter( (UGCQueryHandle_t)params->handle, (const char *)params->pMatchCloudFileName );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SetMatchAnyTag( (UGCQueryHandle_t)params->handle, (bool)params->bMatchAnyTag );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SetSearchText( (UGCQueryHandle_t)params->handle, (const char *)params->pSearchText );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SetRankedByTrendDays( (UGCQueryHandle_t)params->handle, (uint32)params->unDays );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->RequestUGCDetails( (PublishedFileId_t)params->nPublishedFileID, (uint32)params->unMaxAgeSeconds );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->CreateItem( (AppId_t)params->nConsumerAppId, (EWorkshopFileType)params->eFileType );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->StartItemUpdate( (AppId_t)params->nConsumerAppId, (PublishedFileId_t)params->nPublishedFileID );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTitle( (UGCUpdateHandle_t)params->handle, (const char *)params->pchTitle );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SetItemDescription( (UGCUpdateHandle_t)params->handle, (const char *)params->pchDescription );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SetItemUpdateLanguage( (UGCUpdateHandle_t)params->handle, (const char *)params->pchLanguage );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SetItemMetadata( (UGCUpdateHandle_t)params->handle, (const char *)params->pchMetaData );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SetItemVisibility( (UGCUpdateHandle_t)params->handle, (ERemoteStoragePublishedFileVisibility)params->eVisibility );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SetItemTags( (UGCUpdateHandle_t)params->updateHandle, (const SteamParamStringArray_t *)params->pTags );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SetItemContent( (UGCUpdateHandle_t)params->handle, (const char *)params->pszContentFolder );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SetItemPreview( (UGCUpdateHandle_t)params->handle, (const char *)params->pszPreviewFile );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SubmitItemUpdate( (UGCUpdateHandle_t)params->handle, (const char *)params->pchChangeNote );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->GetItemUpdateProgress( (UGCUpdateHandle_t)params->handle, (uint64 *)params->punBytesProcessed, (uint64 *)params->punBytesTotal );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SetUserItemVote( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bVoteUp );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->GetUserItemVote( (PublishedFileId_t)params->nPublishedFileID );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->AddItemToFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->RemoveItemFromFavorites( (AppId_t)params->nAppId, (PublishedFileId_t)params->nPublishedFileID );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->SubscribeItem( (PublishedFileId_t)params->nPublishedFileID );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->UnsubscribeItem( (PublishedFileId_t)params->nPublishedFileID );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->GetNumSubscribedItems( );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->GetSubscribedItems( (PublishedFileId_t *)params->pvecPublishedFileID, (uint32)params->cMaxEntries );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->GetItemState( (PublishedFileId_t)params->nPublishedFileID );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->GetItemInstallInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punSizeOnDisk, (char *)params->pchFolder, (uint32)params->cchFolderSize, (uint32 *)params->punTimeStamp );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->GetItemDownloadInfo( (PublishedFileId_t)params->nPublishedFileID, (uint64 *)params->punBytesDownloaded, (uint64 *)params->punBytesTotal );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem_params *params )
|
|
{
|
|
params->_ret = ((ISteamUGC*)params->linux_side)->DownloadItem( (PublishedFileId_t)params->nPublishedFileID, (bool)params->bHighPriority );
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|