mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-28 23:55:52 +03:00
a1445b757d
CW-Bug-Id: #22729
244 lines
14 KiB
C++
244 lines
14 KiB
C++
#include "steam_defs.h"
|
|
#pragma push_macro("__cdecl")
|
|
#undef __cdecl
|
|
#define __cdecl
|
|
#include "steamworks_sdk_130/steam_api.h"
|
|
#pragma pop_macro("__cdecl")
|
|
#include "steamclient_private.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#define SDKVER_130
|
|
#include "struct_converters.h"
|
|
#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.h"
|
|
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002
|
|
{
|
|
#ifdef __cplusplus
|
|
virtual uint64_t CreateQueryUserUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0;
|
|
virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0;
|
|
virtual uint64_t SendQueryUGCRequest( uint64_t ) = 0;
|
|
virtual bool GetQueryUGCResult( uint64_t, uint32_t, SteamUGCDetails_t * ) = 0;
|
|
virtual bool ReleaseQueryUGCRequest( uint64_t ) = 0;
|
|
virtual bool AddRequiredTag( uint64_t, const char * ) = 0;
|
|
virtual bool AddExcludedTag( uint64_t, const char * ) = 0;
|
|
virtual bool SetReturnLongDescription( uint64_t, bool ) = 0;
|
|
virtual bool SetReturnTotalOnly( uint64_t, bool ) = 0;
|
|
virtual bool SetAllowCachedResponse( uint64_t, uint32_t ) = 0;
|
|
virtual bool SetCloudFileNameFilter( uint64_t, const char * ) = 0;
|
|
virtual bool SetMatchAnyTag( uint64_t, bool ) = 0;
|
|
virtual bool SetSearchText( uint64_t, const char * ) = 0;
|
|
virtual bool SetRankedByTrendDays( uint64_t, uint32_t ) = 0;
|
|
virtual uint64_t RequestUGCDetails( uint64_t, uint32_t ) = 0;
|
|
virtual uint64_t CreateItem( uint32_t, uint32_t ) = 0;
|
|
virtual uint64_t StartItemUpdate( uint32_t, uint64_t ) = 0;
|
|
virtual bool SetItemTitle( uint64_t, const char * ) = 0;
|
|
virtual bool SetItemDescription( uint64_t, const char * ) = 0;
|
|
virtual bool SetItemVisibility( uint64_t, uint32_t ) = 0;
|
|
virtual bool SetItemTags( uint64_t, const SteamParamStringArray_t * ) = 0;
|
|
virtual bool SetItemContent( uint64_t, const char * ) = 0;
|
|
virtual bool SetItemPreview( uint64_t, const char * ) = 0;
|
|
virtual uint64_t SubmitItemUpdate( uint64_t, const char * ) = 0;
|
|
virtual uint32_t GetItemUpdateProgress( uint64_t, uint64_t *, uint64_t * ) = 0;
|
|
virtual uint64_t SubscribeItem( uint64_t ) = 0;
|
|
virtual uint64_t UnsubscribeItem( uint64_t ) = 0;
|
|
virtual uint32_t GetNumSubscribedItems( ) = 0;
|
|
virtual uint32_t GetSubscribedItems( uint64_t *, uint32_t ) = 0;
|
|
virtual bool GetItemInstallInfo( uint64_t, uint64_t *, char *, uint32_t ) = 0;
|
|
virtual bool GetItemUpdateInfo( uint64_t, bool *, bool *, uint64_t *, uint64_t * ) = 0;
|
|
#endif /* __cplusplus */
|
|
};
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->CreateQueryUserUGCRequest( params->unAccountID, params->eListType, params->eMatchingUGCType, params->eSortOrder, params->nCreatorAppID, params->nConsumerAppID, params->unPage );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->unPage );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->SendQueryUGCRequest( params->handle );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
SteamUGCDetails_t lin_pDetails;
|
|
win_to_lin_struct_SteamUGCDetails_t_130( params->pDetails, &lin_pDetails );
|
|
params->_ret = iface->GetQueryUGCResult( params->handle, params->index, &lin_pDetails );
|
|
lin_to_win_struct_SteamUGCDetails_t_130( &lin_pDetails, params->pDetails );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->ReleaseQueryUGCRequest( params->handle );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->AddRequiredTag( params->handle, params->pTagName );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->AddExcludedTag( params->handle, params->pTagName );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->SetReturnLongDescription( params->handle, params->bReturnLongDescription );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->SetReturnTotalOnly( params->handle, params->bReturnTotalOnly );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->SetAllowCachedResponse( params->handle, params->unMaxAgeSeconds );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->SetCloudFileNameFilter( params->handle, params->pMatchCloudFileName );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->SetMatchAnyTag( params->handle, params->bMatchAnyTag );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->SetSearchText( params->handle, params->pSearchText );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->SetRankedByTrendDays( params->handle, params->unDays );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->RequestUGCDetails( params->nPublishedFileID, params->unMaxAgeSeconds );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->CreateItem( params->nConsumerAppId, params->eFileType );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->StartItemUpdate( params->nConsumerAppId, params->nPublishedFileID );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->SetItemTitle( params->handle, params->pchTitle );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->SetItemDescription( params->handle, params->pchDescription );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->SetItemVisibility( params->handle, params->eVisibility );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->SetItemTags( params->updateHandle, params->pTags );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->SetItemContent( params->handle, params->pszContentFolder );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->SetItemPreview( params->handle, params->pszPreviewFile );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->SubmitItemUpdate( params->handle, params->pchChangeNote );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->GetItemUpdateProgress( params->handle, params->punBytesProcessed, params->punBytesTotal );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->SubscribeItem( params->nPublishedFileID );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->UnsubscribeItem( params->nPublishedFileID );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->GetNumSubscribedItems( );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->GetSubscribedItems( params->pvecPublishedFileID, params->cMaxEntries );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->GetItemInstallInfo( params->nPublishedFileID, params->punSizeOnDisk, params->pchFolder, params->cchFolderSize );
|
|
}
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo( struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo_params *params )
|
|
{
|
|
struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct cppISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side;
|
|
params->_ret = iface->GetItemUpdateInfo( params->nPublishedFileID, params->pbNeedsUpdate, params->pbIsDownloading, params->punBytesDownloaded, params->punBytesTotal );
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|