a1445b757d
CW-Bug-Id: #22729
52 lines
2.1 KiB
C++
52 lines
2.1 KiB
C++
#include "steam_defs.h"
|
|
#pragma push_macro("__cdecl")
|
|
#undef __cdecl
|
|
#define __cdecl
|
|
#include "steamworks_sdk_158/steam_api.h"
|
|
#include "steamworks_sdk_158/steamnetworkingtypes.h"
|
|
#pragma pop_macro("__cdecl")
|
|
#include "steamclient_private.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#define SDKVER_158
|
|
#include "struct_converters.h"
|
|
#include "cppISteamVideo_STEAMVIDEO_INTERFACE_V002.h"
|
|
|
|
struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002
|
|
{
|
|
#ifdef __cplusplus
|
|
virtual void GetVideoURL( uint32_t ) = 0;
|
|
virtual bool IsBroadcasting( int32_t * ) = 0;
|
|
virtual void GetOPFSettings( uint32_t ) = 0;
|
|
virtual bool GetOPFStringForApp( uint32_t, char *, int32_t * ) = 0;
|
|
#endif /* __cplusplus */
|
|
};
|
|
|
|
void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL( struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL_params *params )
|
|
{
|
|
struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002 *iface = (struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002 *)params->linux_side;
|
|
iface->GetVideoURL( params->unVideoAppID );
|
|
}
|
|
|
|
void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting( struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting_params *params )
|
|
{
|
|
struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002 *iface = (struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002 *)params->linux_side;
|
|
params->_ret = iface->IsBroadcasting( params->pnNumViewers );
|
|
}
|
|
|
|
void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings( struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings_params *params )
|
|
{
|
|
struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002 *iface = (struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002 *)params->linux_side;
|
|
iface->GetOPFSettings( params->unVideoAppID );
|
|
}
|
|
|
|
void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp( struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp_params *params )
|
|
{
|
|
struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002 *iface = (struct cppISteamVideo_STEAMVIDEO_INTERFACE_V002 *)params->linux_side;
|
|
params->_ret = iface->GetOPFStringForApp( params->unVideoAppID, params->pchBuffer, params->pnBufferSize );
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|