mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-21 21:26:03 +01:00
lsteamclient: Make Windows-side struct definitions available to C files
This commit is contained in:
parent
2054bb97a9
commit
4880c3b3ab
465 changed files with 3125 additions and 3734 deletions
|
|
@ -1,11 +1,12 @@
|
|||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_132x/steam_api.h"
|
||||
#include "steamclient_private.h"
|
||||
#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include "struct_converters_132x.h"
|
||||
#define SDKVER_132x
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.h"
|
||||
UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_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);
|
||||
|
|
@ -21,7 +22,7 @@ SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest(vo
|
|||
return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle);
|
||||
}
|
||||
|
||||
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, SteamUGCDetails_t * pDetails)
|
||||
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_132x * pDetails)
|
||||
{
|
||||
SteamUGCDetails_t lin_pDetails;
|
||||
win_to_lin_struct_SteamUGCDetails_t_132x(pDetails, &lin_pDetails);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue