lsteamclient: Generate SteamWorks SDK 1.57 support.

This commit is contained in:
Rémi Bernon 2023-05-02 10:47:29 +02:00 committed by Arkadiusz Hiler
parent a33bbf115c
commit ea07c02886
57 changed files with 2215 additions and 1467 deletions

View file

@ -2,14 +2,14 @@
#pragma push_macro("__cdecl")
#undef __cdecl
#define __cdecl
#include "steamworks_sdk_156/steam_api.h"
#include "steamworks_sdk_156/steamnetworkingtypes.h"
#include "steamworks_sdk_157/steam_api.h"
#include "steamworks_sdk_157/steamnetworkingtypes.h"
#pragma pop_macro("__cdecl")
#include "steamclient_private.h"
#ifdef __cplusplus
extern "C" {
#endif
#define SDKVER_156
#define SDKVER_157
#include "struct_converters.h"
#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.h"
UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage)
@ -37,12 +37,12 @@ SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest(vo
return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle);
}
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_156 * pDetails)
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_157 * pDetails)
{
SteamUGCDetails_t lin_pDetails;
win_to_lin_struct_SteamUGCDetails_t_156(pDetails, &lin_pDetails);
win_to_lin_struct_SteamUGCDetails_t_157(pDetails, &lin_pDetails);
bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails);
lin_to_win_struct_SteamUGCDetails_t_156(&lin_pDetails, pDetails);
lin_to_win_struct_SteamUGCDetails_t_157(&lin_pDetails, pDetails);
return retval;
}