2018-01-18 19:24:05 +03:00
|
|
|
#include "steam_defs.h"
|
2019-08-16 17:00:45 +03:00
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2023-05-02 11:43:23 +03: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 17:00:45 +03:00
|
|
|
#pragma pop_macro("__cdecl")
|
2018-10-30 22:06:46 +03:00
|
|
|
#include "steamclient_private.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2023-09-18 16:58:31 +03:00
|
|
|
#define SDKVER_158
|
2019-02-26 18:05:29 +03:00
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.h"
|
2023-09-24 00:44:45 +03:00
|
|
|
|
|
|
|
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001
|
|
|
|
{
|
|
|
|
#ifdef __cplusplus
|
|
|
|
virtual uint32_t GetNumInstalledApps( ) = 0;
|
|
|
|
virtual uint32_t GetInstalledApps( uint32_t *, uint32_t ) = 0;
|
|
|
|
virtual int32_t GetAppName( uint32_t, char *, int32_t ) = 0;
|
|
|
|
virtual int32_t GetAppInstallDir( uint32_t, char *, int32_t ) = 0;
|
|
|
|
virtual int32_t GetAppBuildId( uint32_t ) = 0;
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
};
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *iface = (struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetNumInstalledApps( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *iface = (struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetInstalledApps( params->pvecAppID, params->unMaxAppIDs );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *iface = (struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetAppName( params->nAppID, params->pchName, params->cchNameMax );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *iface = (struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetAppInstallDir( params->nAppID, params->pchDirectory, params->cchNameMax );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *iface = (struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetAppBuildId( params->nAppID );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|