2018-01-18 17:24:05 +01:00
|
|
|
#include "steam_defs.h"
|
2019-08-16 16:00:45 +02:00
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2023-05-02 10:43:23 +02:00
|
|
|
#define __cdecl
|
2018-01-18 17:24:05 +01:00
|
|
|
#include "steamworks_sdk_137/steam_api.h"
|
2019-08-16 16:00:45 +02:00
|
|
|
#pragma pop_macro("__cdecl")
|
2018-10-30 20:06:46 +01:00
|
|
|
#include "steamclient_private.h"
|
2018-01-18 17:24:05 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2019-02-26 16:05:29 +01:00
|
|
|
#define SDKVER_137
|
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.h"
|
2018-01-18 17:24:05 +01:00
|
|
|
UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
UGCQueryHandle_t _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
UGCQueryHandle_t _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
UGCQueryHandle_t _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
SteamAPICall_t _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_137 *pDetails)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
2018-10-29 17:21:49 +01:00
|
|
|
SteamUGCDetails_t lin_pDetails;
|
|
|
|
win_to_lin_struct_SteamUGCDetails_t_137(pDetails, &lin_pDetails);
|
2023-09-23 21:44:20 +02:00
|
|
|
_ret = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails);
|
2018-10-29 17:21:49 +01:00
|
|
|
lin_to_win_struct_SteamUGCDetails_t_137(&lin_pDetails, pDetails);
|
2023-09-23 21:44:20 +02:00
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchURL, uint32 cchURLSize)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char *pchMetadata, uint32 cchMetadatasize)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 *pStatValue)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint32 *)pStatValue);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
uint32 _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
uint32 _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char *pTagName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char *pchLanguage)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char *pMatchCloudFileName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char *pSearchText)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char *pKey, const char *pValue)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
SteamAPICall_t _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
SteamAPICall_t _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
UGCUpdateHandle_t _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char *pchTitle)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char *pchDescription)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char *pchLanguage)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char *pchMetaData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char *pszContentFolder)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char *pszVideoID)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char *pchChangeNote)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
SteamAPICall_t _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64 *punBytesTotal)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
EItemUpdateStatus _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
SteamAPICall_t _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
SteamAPICall_t _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
SteamAPICall_t _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
SteamAPICall_t _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
SteamAPICall_t _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
SteamAPICall_t _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems(void *linux_side)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
uint32 _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->GetNumSubscribedItems();
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems(void *linux_side, PublishedFileId_t *pvecPublishedFileID, uint32 cMaxEntries)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
uint32 _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
uint32 _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority)
|
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char *pszFolder)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder);
|
|
|
|
return (_ret);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads(void *linux_side, bool bSuspend)
|
|
|
|
{
|
|
|
|
((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend);
|
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|