mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-24 00:04:34 +01:00
parent
4988734817
commit
a1445b757d
391 changed files with 19128 additions and 5873 deletions
|
|
@ -12,24 +12,39 @@ extern "C" {
|
|||
#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 )
|
||||
{
|
||||
((ISteamVideo*)params->linux_side)->GetVideoURL( (AppId_t)params->unVideoAppID );
|
||||
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 )
|
||||
{
|
||||
params->_ret = ((ISteamVideo*)params->linux_side)->IsBroadcasting( (int *)params->pnNumViewers );
|
||||
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 )
|
||||
{
|
||||
((ISteamVideo*)params->linux_side)->GetOPFSettings( (AppId_t)params->unVideoAppID );
|
||||
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 )
|
||||
{
|
||||
params->_ret = ((ISteamVideo*)params->linux_side)->GetOPFStringForApp( (AppId_t)params->unVideoAppID, (char *)params->pchBuffer, (int32 *)params->pnBufferSize );
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue