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
|
2018-01-18 10:24:05 -06:00
|
|
|
#include "steamworks_sdk_137/steam_api.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
|
2019-02-26 09:05:29 -06:00
|
|
|
#define SDKVER_137
|
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.h"
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot_params *params )
|
2018-01-18 10:24:05 -06:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
params->_ret = ((ISteamScreenshots*)params->linux_side)->WriteScreenshot( (void *)params->pubRGB, (uint32)params->cubRGB, (int)params->nWidth, (int)params->nHeight );
|
2018-01-18 10:24:05 -06:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary_params *params )
|
2018-01-18 10:24:05 -06:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
params->_ret = ((ISteamScreenshots*)params->linux_side)->AddScreenshotToLibrary( (const char *)params->pchFilename, (const char *)params->pchThumbnailFilename, (int)params->nWidth, (int)params->nHeight );
|
2018-01-18 10:24:05 -06:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot_params *params )
|
2018-01-18 10:24:05 -06:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
((ISteamScreenshots*)params->linux_side)->TriggerScreenshot( );
|
2018-01-18 10:24:05 -06:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots_params *params )
|
2018-01-18 10:24:05 -06:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
((ISteamScreenshots*)params->linux_side)->HookScreenshots( (bool)params->bHook );
|
2018-01-18 10:24:05 -06:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation_params *params )
|
2018-01-18 10:24:05 -06:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
params->_ret = ((ISteamScreenshots*)params->linux_side)->SetLocation( (ScreenshotHandle)params->hScreenshot, (const char *)params->pchLocation );
|
2018-01-18 10:24:05 -06:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser_params *params )
|
2018-01-18 10:24:05 -06:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
params->_ret = ((ISteamScreenshots*)params->linux_side)->TagUser( (ScreenshotHandle)params->hScreenshot, (CSteamID)params->steamID );
|
2018-01-18 10:24:05 -06:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile( struct cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile_params *params )
|
2018-01-18 10:24:05 -06:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
params->_ret = ((ISteamScreenshots*)params->linux_side)->TagPublishedFile( (ScreenshotHandle)params->hScreenshot, (PublishedFileId_t)params->unPublishedFileID );
|
2018-01-18 10:24:05 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|