2
0
mirror of https://github.com/ValveSoftware/Proton synced 2025-08-31 06:35:23 +00:00

lsteamclient: Use declspec to generate C++ method signature.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon
2023-09-23 16:11:42 +02:00
committed by Arkadiusz Hiler
parent 992384b88f
commit 122e0e362c
192 changed files with 2659 additions and 2666 deletions

View File

@@ -21,7 +21,7 @@ UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCReq
return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage);
}
UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs)
UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs)
{
return ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs);
}
@@ -31,7 +31,7 @@ SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest(vo
return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_133x * pDetails)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_133x *pDetails)
{
SteamUGCDetails_t lin_pDetails;
win_to_lin_struct_SteamUGCDetails_t_133x(pDetails, &lin_pDetails);
@@ -40,22 +40,22 @@ bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult(void *linux_si
return retval;
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize)
{
return ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize)
{
return ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries)
{
return ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 * pStatValue)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 *pStatValue)
{
return ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint32 *)pStatValue);
}
@@ -65,7 +65,7 @@ uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPrevie
return ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, bool * pbIsImage)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, bool *pbIsImage)
{
return ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (bool *)pbIsImage);
}
@@ -75,12 +75,12 @@ bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest(void *lin
return ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName)
{
return ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName)
{
return ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName);
}
@@ -110,7 +110,7 @@ bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly(void *linux_s
return ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char * pchLanguage)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char *pchLanguage)
{
return ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage);
}
@@ -120,7 +120,7 @@ bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse(void *lin
return ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char * pMatchCloudFileName)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char *pMatchCloudFileName)
{
return ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName);
}
@@ -130,7 +130,7 @@ bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag(void *linux_side,
return ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char * pSearchText)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char *pSearchText)
{
return ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText);
}
@@ -155,22 +155,22 @@ UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate(voi
return ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char * pchTitle)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char *pchTitle)
{
return ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char * pchDescription)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char *pchDescription)
{
return ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char * pchLanguage)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char *pchLanguage)
{
return ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char * pchMetaData)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char *pchMetaData)
{
return ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData);
}
@@ -180,27 +180,27 @@ bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility(void *linux_si
return ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags)
{
return ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char * pszContentFolder)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char *pszContentFolder)
{
return ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile)
{
return ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile);
}
SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char * pchChangeNote)
SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char *pchChangeNote)
{
return ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote);
}
EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal)
EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal)
{
return ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal);
}
@@ -240,7 +240,7 @@ uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems(void *li
return ((ISteamUGC*)linux_side)->GetNumSubscribedItems();
}
uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries)
uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries)
{
return ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries);
}
@@ -250,12 +250,12 @@ uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState(void *linux_side,
return ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp)
{
return ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal)
{
return ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal);
}