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
|
2020-08-11 20:39:33 +03:00
|
|
|
#include "steamworks_sdk_149/steam_api.h"
|
|
|
|
#include "steamworks_sdk_149/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
|
2020-08-11 20:39:33 +03:00
|
|
|
#define SDKVER_149
|
2019-02-26 18:05:29 +03:00
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamUtils_SteamUtils009.h"
|
2023-09-24 00:44:45 +03:00
|
|
|
|
|
|
|
struct cppISteamUtils_SteamUtils009
|
|
|
|
{
|
|
|
|
#ifdef __cplusplus
|
|
|
|
virtual uint32_t GetSecondsSinceAppActive( ) = 0;
|
|
|
|
virtual uint32_t GetSecondsSinceComputerActive( ) = 0;
|
|
|
|
virtual uint32_t GetConnectedUniverse( ) = 0;
|
|
|
|
virtual uint32_t GetServerRealTime( ) = 0;
|
|
|
|
virtual const char * GetIPCountry( ) = 0;
|
|
|
|
virtual bool GetImageSize( int32_t, uint32_t *, uint32_t * ) = 0;
|
|
|
|
virtual bool GetImageRGBA( int32_t, uint8_t *, int32_t ) = 0;
|
|
|
|
virtual bool GetCSERIPPort( uint32_t *, uint16_t * ) = 0;
|
|
|
|
virtual uint8_t GetCurrentBatteryPower( ) = 0;
|
|
|
|
virtual uint32_t GetAppID( ) = 0;
|
|
|
|
virtual void SetOverlayNotificationPosition( uint32_t ) = 0;
|
|
|
|
virtual bool IsAPICallCompleted( uint64_t, bool * ) = 0;
|
|
|
|
virtual uint32_t GetAPICallFailureReason( uint64_t ) = 0;
|
|
|
|
virtual bool GetAPICallResult( uint64_t, void *, int32_t, int32_t, bool * ) = 0;
|
|
|
|
virtual void RunFrame( ) = 0;
|
|
|
|
virtual uint32_t GetIPCCallCount( ) = 0;
|
|
|
|
virtual void SetWarningMessageHook( void (*)(int32_t, const char *) ) = 0;
|
|
|
|
virtual bool IsOverlayEnabled( ) = 0;
|
|
|
|
virtual bool BOverlayNeedsPresent( ) = 0;
|
|
|
|
virtual uint64_t CheckFileSignature( const char * ) = 0;
|
|
|
|
virtual bool ShowGamepadTextInput( uint32_t, uint32_t, const char *, uint32_t, const char * ) = 0;
|
|
|
|
virtual uint32_t GetEnteredGamepadTextLength( ) = 0;
|
|
|
|
virtual bool GetEnteredGamepadTextInput( char *, uint32_t ) = 0;
|
|
|
|
virtual const char * GetSteamUILanguage( ) = 0;
|
|
|
|
virtual bool IsSteamRunningInVR( ) = 0;
|
|
|
|
virtual void SetOverlayNotificationInset( int32_t, int32_t ) = 0;
|
|
|
|
virtual bool IsSteamInBigPictureMode( ) = 0;
|
|
|
|
virtual void StartVRDashboard( ) = 0;
|
|
|
|
virtual bool IsVRHeadsetStreamingEnabled( ) = 0;
|
|
|
|
virtual void SetVRHeadsetStreamingEnabled( bool ) = 0;
|
|
|
|
virtual bool IsSteamChinaLauncher( ) = 0;
|
|
|
|
virtual bool InitFilterText( ) = 0;
|
|
|
|
virtual int32_t FilterText( char *, uint32_t, const char *, bool ) = 0;
|
|
|
|
virtual uint32_t GetIPv6ConnectivityState( uint32_t ) = 0;
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
};
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive( struct cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetSecondsSinceAppActive( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_GetSecondsSinceComputerActive( struct cppISteamUtils_SteamUtils009_GetSecondsSinceComputerActive_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetSecondsSinceComputerActive( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_GetConnectedUniverse( struct cppISteamUtils_SteamUtils009_GetConnectedUniverse_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetConnectedUniverse( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_GetServerRealTime( struct cppISteamUtils_SteamUtils009_GetServerRealTime_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetServerRealTime( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_GetIPCountry( struct cppISteamUtils_SteamUtils009_GetIPCountry_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetIPCountry( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_GetImageSize( struct cppISteamUtils_SteamUtils009_GetImageSize_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetImageSize( params->iImage, params->pnWidth, params->pnHeight );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_GetImageRGBA( struct cppISteamUtils_SteamUtils009_GetImageRGBA_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetImageRGBA( params->iImage, params->pubDest, params->nDestBufferSize );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_GetCSERIPPort( struct cppISteamUtils_SteamUtils009_GetCSERIPPort_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetCSERIPPort( params->unIP, params->usPort );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_GetCurrentBatteryPower( struct cppISteamUtils_SteamUtils009_GetCurrentBatteryPower_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetCurrentBatteryPower( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_GetAppID( struct cppISteamUtils_SteamUtils009_GetAppID_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetAppID( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_SetOverlayNotificationPosition( struct cppISteamUtils_SteamUtils009_SetOverlayNotificationPosition_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
iface->SetOverlayNotificationPosition( params->eNotificationPosition );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_IsAPICallCompleted( struct cppISteamUtils_SteamUtils009_IsAPICallCompleted_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->IsAPICallCompleted( params->hSteamAPICall, params->pbFailed );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_GetAPICallFailureReason( struct cppISteamUtils_SteamUtils009_GetAPICallFailureReason_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetAPICallFailureReason( params->hSteamAPICall );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_GetAPICallResult( struct cppISteamUtils_SteamUtils009_GetAPICallResult_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetAPICallResult( params->hSteamAPICall, params->pCallback, params->cubCallback, params->iCallbackExpected, params->pbFailed );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_RunFrame( struct cppISteamUtils_SteamUtils009_RunFrame_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
iface->RunFrame( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_GetIPCCallCount( struct cppISteamUtils_SteamUtils009_GetIPCCallCount_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetIPCCallCount( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_SetWarningMessageHook( struct cppISteamUtils_SteamUtils009_SetWarningMessageHook_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
2023-09-19 22:30:14 +03:00
|
|
|
void (*U_CDECL lin_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction );
|
2023-09-24 00:44:45 +03:00
|
|
|
iface->SetWarningMessageHook( lin_pFunction );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_IsOverlayEnabled( struct cppISteamUtils_SteamUtils009_IsOverlayEnabled_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->IsOverlayEnabled( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_BOverlayNeedsPresent( struct cppISteamUtils_SteamUtils009_BOverlayNeedsPresent_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->BOverlayNeedsPresent( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_CheckFileSignature( struct cppISteamUtils_SteamUtils009_CheckFileSignature_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->CheckFileSignature( params->szFileName );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_ShowGamepadTextInput( struct cppISteamUtils_SteamUtils009_ShowGamepadTextInput_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->ShowGamepadTextInput( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_GetEnteredGamepadTextLength( struct cppISteamUtils_SteamUtils009_GetEnteredGamepadTextLength_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetEnteredGamepadTextLength( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_GetEnteredGamepadTextInput( struct cppISteamUtils_SteamUtils009_GetEnteredGamepadTextInput_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetEnteredGamepadTextInput( params->pchText, params->cchText );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_GetSteamUILanguage( struct cppISteamUtils_SteamUtils009_GetSteamUILanguage_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetSteamUILanguage( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_IsSteamRunningInVR( struct cppISteamUtils_SteamUtils009_IsSteamRunningInVR_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->IsSteamRunningInVR( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_SetOverlayNotificationInset( struct cppISteamUtils_SteamUtils009_SetOverlayNotificationInset_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
iface->SetOverlayNotificationInset( params->nHorizontalInset, params->nVerticalInset );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_IsSteamInBigPictureMode( struct cppISteamUtils_SteamUtils009_IsSteamInBigPictureMode_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->IsSteamInBigPictureMode( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_StartVRDashboard( struct cppISteamUtils_SteamUtils009_StartVRDashboard_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
iface->StartVRDashboard( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled( struct cppISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->IsVRHeadsetStreamingEnabled( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled( struct cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
iface->SetVRHeadsetStreamingEnabled( params->bEnabled );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_IsSteamChinaLauncher( struct cppISteamUtils_SteamUtils009_IsSteamChinaLauncher_params *params )
|
2019-08-16 15:44:08 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->IsSteamChinaLauncher( );
|
2019-08-16 15:44:08 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_InitFilterText( struct cppISteamUtils_SteamUtils009_InitFilterText_params *params )
|
2019-08-16 15:44:08 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->InitFilterText( );
|
2019-08-16 15:44:08 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_FilterText( struct cppISteamUtils_SteamUtils009_FilterText_params *params )
|
2019-08-16 15:44:08 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->FilterText( params->pchOutFilteredText, params->nByteSizeOutFilteredText, params->pchInputMessage, params->bLegalOnly );
|
2019-08-16 15:44:08 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUtils_SteamUtils009_GetIPv6ConnectivityState( struct cppISteamUtils_SteamUtils009_GetIPv6ConnectivityState_params *params )
|
2019-12-11 22:59:25 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetIPv6ConnectivityState( params->eProtocol );
|
2019-12-11 22:59:25 +03:00
|
|
|
}
|
|
|
|
|
2018-01-18 19:24:05 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|