lsteamclient: Add steamworks sdk 1.44 support

This commit is contained in:
Andrew Eikum 2019-05-13 11:46:07 -05:00
parent dfdd3d0d78
commit 528d5d26cf
167 changed files with 15834 additions and 1001 deletions

View file

@ -1,10 +1,10 @@
#include "steam_defs.h"
#include "steamworks_sdk_143/steam_api.h"
#include "steamworks_sdk_144/steam_api.h"
#include "steamclient_private.h"
#ifdef __cplusplus
extern "C" {
#endif
#define SDKVER_143
#define SDKVER_144
#include "struct_converters.h"
#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.h"
UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage)
@ -32,12 +32,12 @@ SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest(vo
return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_143 * pDetails)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_144 * pDetails)
{
SteamUGCDetails_t lin_pDetails;
win_to_lin_struct_SteamUGCDetails_t_143(pDetails, &lin_pDetails);
win_to_lin_struct_SteamUGCDetails_t_144(pDetails, &lin_pDetails);
bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails);
lin_to_win_struct_SteamUGCDetails_t_143(&lin_pDetails, pDetails);
lin_to_win_struct_SteamUGCDetails_t_144(&lin_pDetails, pDetails);
return retval;
}