mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-28 18:24:44 +01:00
lsteamclient: Generate SteamWorks SDK 1.55 support.
This commit is contained in:
parent
d11d466cb3
commit
840959f4cf
54 changed files with 1695 additions and 1470 deletions
|
|
@ -1,14 +1,14 @@
|
|||
#include "steam_defs.h"
|
||||
#pragma push_macro("__cdecl")
|
||||
#undef __cdecl
|
||||
#include "steamworks_sdk_154/steam_api.h"
|
||||
#include "steamworks_sdk_154/steamnetworkingtypes.h"
|
||||
#include "steamworks_sdk_155/steam_api.h"
|
||||
#include "steamworks_sdk_155/steamnetworkingtypes.h"
|
||||
#pragma pop_macro("__cdecl")
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_154
|
||||
#define SDKVER_155
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.h"
|
||||
UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage)
|
||||
|
|
@ -36,12 +36,12 @@ SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest(vo
|
|||
return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle);
|
||||
}
|
||||
|
||||
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_154 * pDetails)
|
||||
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_155 * pDetails)
|
||||
{
|
||||
SteamUGCDetails_t lin_pDetails;
|
||||
win_to_lin_struct_SteamUGCDetails_t_154(pDetails, &lin_pDetails);
|
||||
win_to_lin_struct_SteamUGCDetails_t_155(pDetails, &lin_pDetails);
|
||||
bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails);
|
||||
lin_to_win_struct_SteamUGCDetails_t_154(&lin_pDetails, pDetails);
|
||||
lin_to_win_struct_SteamUGCDetails_t_155(&lin_pDetails, pDetails);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue