mirror of
https://github.com/ValveSoftware/Proton
synced 2025-08-31 06:35:23 +00:00
@@ -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
|
||||
|
Reference in New Issue
Block a user