2
0
mirror of https://github.com/ValveSoftware/Proton synced 2025-08-31 06:35:23 +00:00

lsteamclient: Generate linux interface structs.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon
2023-09-23 23:44:45 +02:00
parent 9a98c4ff35
commit acb9c7a193
391 changed files with 19128 additions and 5873 deletions

View File

@@ -11,9 +11,18 @@ extern "C" {
#define SDKVER_100
#include "struct_converters.h"
#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.h"
struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION001
{
#ifdef __cplusplus
virtual int32_t GetAppData( uint32_t, const char *, char *, int32_t ) = 0;
#endif /* __cplusplus */
};
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData_params *params )
{
params->_ret = ((ISteamApps*)params->linux_side)->GetAppData( (AppId_t)params->nAppID, (const char *)params->pchKey, (char *)params->pchValue, (int)params->cchValueMax );
struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION001 *iface = (struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION001 *)params->linux_side;
params->_ret = iface->GetAppData( params->nAppID, params->pchKey, params->pchValue, params->cchValueMax );
}
#ifdef __cplusplus