2018-01-18 10:24:05 -06:00
|
|
|
#include "steam_defs.h"
|
2019-08-16 09:00:45 -05:00
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2023-05-02 10:43:23 +02:00
|
|
|
#define __cdecl
|
2023-09-18 16:58:31 +03:00
|
|
|
#include "steamworks_sdk_158/steam_api.h"
|
|
|
|
#include "steamworks_sdk_158/steamnetworkingtypes.h"
|
2019-08-16 09:00:45 -05:00
|
|
|
#pragma pop_macro("__cdecl")
|
2018-10-30 14:06:46 -05:00
|
|
|
#include "steamclient_private.h"
|
2018-01-18 10:24:05 -06:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2023-09-18 16:58:31 +03:00
|
|
|
#define SDKVER_158
|
2019-02-26 09:05:29 -06:00
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.h"
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps_params *params )
|
2018-01-18 10:24:05 -06:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
params->_ret = ((ISteamAppList*)params->linux_side)->GetNumInstalledApps( );
|
2018-01-18 10:24:05 -06:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps_params *params )
|
2018-01-18 10:24:05 -06:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
params->_ret = ((ISteamAppList*)params->linux_side)->GetInstalledApps( (AppId_t *)params->pvecAppID, (uint32)params->unMaxAppIDs );
|
2018-01-18 10:24:05 -06:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName_params *params )
|
2018-01-18 10:24:05 -06:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
params->_ret = ((ISteamAppList*)params->linux_side)->GetAppName( (AppId_t)params->nAppID, (char *)params->pchName, (int)params->cchNameMax );
|
2018-01-18 10:24:05 -06:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir_params *params )
|
2018-01-18 10:24:05 -06:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
params->_ret = ((ISteamAppList*)params->linux_side)->GetAppInstallDir( (AppId_t)params->nAppID, (char *)params->pchDirectory, (int)params->cchNameMax );
|
2018-01-18 10:24:05 -06:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId_params *params )
|
2018-01-18 10:24:05 -06:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
params->_ret = ((ISteamAppList*)params->linux_side)->GetAppBuildId( (AppId_t)params->nAppID );
|
2018-01-18 10:24:05 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|