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 "cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot(void *linux_side, void * pubRGB, uint32 cubRGB, int nWidth, int nHeight)
|
|
|
|
{
|
|
|
|
return ((ISteamScreenshots*)linux_side)->WriteScreenshot((void *)pubRGB, (uint32)cubRGB, (int)nWidth, (int)nHeight);
|
|
|
|
}
|
|
|
|
|
|
|
|
ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary(void *linux_side, const char * pchFilename, const char * pchThumbnailFilename, int nWidth, int nHeight)
|
|
|
|
{
|
|
|
|
return ((ISteamScreenshots*)linux_side)->AddScreenshotToLibrary((const char *)pchFilename, (const char *)pchThumbnailFilename, (int)nWidth, (int)nHeight);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot(void *linux_side)
|
|
|
|
{
|
|
|
|
((ISteamScreenshots*)linux_side)->TriggerScreenshot();
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots(void *linux_side, bool bHook)
|
|
|
|
{
|
|
|
|
((ISteamScreenshots*)linux_side)->HookScreenshots((bool)bHook);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation(void *linux_side, ScreenshotHandle hScreenshot, const char * pchLocation)
|
|
|
|
{
|
|
|
|
return ((ISteamScreenshots*)linux_side)->SetLocation((ScreenshotHandle)hScreenshot, (const char *)pchLocation);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser(void *linux_side, ScreenshotHandle hScreenshot, CSteamID steamID)
|
|
|
|
{
|
|
|
|
return ((ISteamScreenshots*)linux_side)->TagUser((ScreenshotHandle)hScreenshot, (CSteamID)steamID);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile(void *linux_side, ScreenshotHandle hScreenshot, PublishedFileId_t unPublishedFileID)
|
|
|
|
{
|
|
|
|
return ((ISteamScreenshots*)linux_side)->TagPublishedFile((ScreenshotHandle)hScreenshot, (PublishedFileId_t)unPublishedFileID);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamScreenshots*)linux_side)->IsScreenshotsHooked();
|
|
|
|
}
|
|
|
|
|
|
|
|
ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary(void *linux_side, EVRScreenshotType eType, const char * pchFilename, const char * pchVRFilename)
|
|
|
|
{
|
|
|
|
return ((ISteamScreenshots*)linux_side)->AddVRScreenshotToLibrary((EVRScreenshotType)eType, (const char *)pchFilename, (const char *)pchVRFilename);
|
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|