2018-01-18 17:24:05 +01:00
|
|
|
#include "steam_defs.h"
|
|
|
|
#include "steamworks_sdk_128/steam_api.h"
|
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_128
|
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.h"
|
2018-01-18 17:24:05 +01:00
|
|
|
UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage)
|
|
|
|
{
|
|
|
|
return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage);
|
|
|
|
}
|
|
|
|
|
|
|
|
UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage)
|
|
|
|
{
|
|
|
|
return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage);
|
|
|
|
}
|
|
|
|
|
|
|
|
SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle)
|
|
|
|
{
|
|
|
|
return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle);
|
|
|
|
}
|
|
|
|
|
2019-02-26 16:05:29 +01:00
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_128 * pDetails)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2018-10-29 17:21:49 +01:00
|
|
|
SteamUGCDetails_t lin_pDetails;
|
|
|
|
win_to_lin_struct_SteamUGCDetails_t_128(pDetails, &lin_pDetails);
|
|
|
|
bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails);
|
|
|
|
lin_to_win_struct_SteamUGCDetails_t_128(&lin_pDetails, pDetails);
|
|
|
|
return retval;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle)
|
|
|
|
{
|
|
|
|
return ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_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_VERSION001_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName)
|
|
|
|
{
|
|
|
|
return ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription)
|
|
|
|
{
|
|
|
|
return ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly)
|
|
|
|
{
|
|
|
|
return ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char * pMatchCloudFileName)
|
|
|
|
{
|
|
|
|
return ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag)
|
|
|
|
{
|
|
|
|
return ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char * pSearchText)
|
|
|
|
{
|
|
|
|
return ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays)
|
|
|
|
{
|
|
|
|
return ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays);
|
|
|
|
}
|
|
|
|
|
|
|
|
SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID)
|
|
|
|
{
|
|
|
|
return ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID);
|
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|