mirror of
https://github.com/ValveSoftware/Proton
synced 2025-08-31 06:35:23 +00:00
lsteamclient: Call struct converters
This commit is contained in:
@@ -27,7 +27,11 @@ SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest(vo
|
||||
|
||||
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, SteamUGCDetails_t * pDetails)
|
||||
{
|
||||
return ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, (SteamUGCDetails_t *)pDetails);
|
||||
SteamUGCDetails_t lin_pDetails;
|
||||
win_to_lin_struct_SteamUGCDetails_t_139(pDetails, &lin_pDetails);
|
||||
bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails);
|
||||
lin_to_win_struct_SteamUGCDetails_t_139(&lin_pDetails, pDetails);
|
||||
return retval;
|
||||
}
|
||||
|
||||
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize)
|
||||
@@ -197,7 +201,11 @@ bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility(void *linux_si
|
||||
|
||||
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags)
|
||||
{
|
||||
return ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags);
|
||||
SteamParamStringArray_t lin_pTags;
|
||||
win_to_lin_struct_SteamParamStringArray_t_139(pTags, &lin_pTags);
|
||||
bool retval = ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, &lin_pTags);
|
||||
lin_to_win_struct_const SteamParamStringArray_t_139(&lin_pTags, pTags);
|
||||
return retval;
|
||||
}
|
||||
|
||||
bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char * pszContentFolder)
|
||||
|
Reference in New Issue
Block a user