2018-01-18 17:24:05 +01:00
|
|
|
#include "steam_defs.h"
|
2019-08-16 16:00:45 +02:00
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2021-09-15 21:52:44 +02:00
|
|
|
#include "steamworks_sdk_152/steam_api.h"
|
|
|
|
#include "steamworks_sdk_152/steamnetworkingtypes.h"
|
2019-08-16 16:00:45 +02:00
|
|
|
#pragma pop_macro("__cdecl")
|
2018-10-30 20:06:46 +01:00
|
|
|
#include "steamclient_private.h"
|
2018-01-18 17:24:05 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2021-09-15 21:52:44 +02:00
|
|
|
#define SDKVER_152
|
2019-02-26 16:05:29 +01:00
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamVideo_STEAMVIDEO_INTERFACE_V002.h"
|
2018-01-18 17:24:05 +01:00
|
|
|
void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL(void *linux_side, AppId_t unVideoAppID)
|
|
|
|
{
|
|
|
|
((ISteamVideo*)linux_side)->GetVideoURL((AppId_t)unVideoAppID);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting(void *linux_side, int * pnNumViewers)
|
|
|
|
{
|
|
|
|
return ((ISteamVideo*)linux_side)->IsBroadcasting((int *)pnNumViewers);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings(void *linux_side, AppId_t unVideoAppID)
|
|
|
|
{
|
|
|
|
((ISteamVideo*)linux_side)->GetOPFSettings((AppId_t)unVideoAppID);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp(void *linux_side, AppId_t unVideoAppID, char * pchBuffer, int32 * pnBufferSize)
|
|
|
|
{
|
|
|
|
return ((ISteamVideo*)linux_side)->GetOPFStringForApp((AppId_t)unVideoAppID, (char *)pchBuffer, (int32 *)pnBufferSize);
|
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|