lsteamclient: Use the new structures in thunks.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-09-30 14:02:30 +02:00
parent 444a139150
commit eb1a12c85c
514 changed files with 10161 additions and 10868 deletions

View file

@ -1,19 +1,8 @@
#include "steam_defs.h"
#pragma push_macro("__cdecl")
#undef __cdecl
#define __cdecl
#include "steamworks_sdk_149/steam_api.h"
#include "steamworks_sdk_149/steamnetworkingtypes.h"
#pragma pop_macro("__cdecl")
#include "steamclient_private.h"
#ifdef __cplusplus
extern "C" {
#endif
#define SDKVER_149
#include "struct_converters.h"
/* This file is auto-generated, do not edit. */
#include "unix_private.h"
#include "cppISteamUtils_SteamUtils009.h"
struct cppISteamUtils_SteamUtils009
struct u_ISteamUtils_SteamUtils009
{
#ifdef __cplusplus
virtual uint32_t GetSecondsSinceAppActive( ) = 0;
@ -32,7 +21,7 @@ struct cppISteamUtils_SteamUtils009
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 void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0;
virtual bool IsOverlayEnabled( ) = 0;
virtual bool BOverlayNeedsPresent( ) = 0;
virtual uint64_t CheckFileSignature( const char * ) = 0;
@ -55,209 +44,206 @@ struct cppISteamUtils_SteamUtils009
void cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive( struct cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->GetSecondsSinceAppActive( );
}
void cppISteamUtils_SteamUtils009_GetSecondsSinceComputerActive( struct cppISteamUtils_SteamUtils009_GetSecondsSinceComputerActive_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->GetSecondsSinceComputerActive( );
}
void cppISteamUtils_SteamUtils009_GetConnectedUniverse( struct cppISteamUtils_SteamUtils009_GetConnectedUniverse_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->GetConnectedUniverse( );
}
void cppISteamUtils_SteamUtils009_GetServerRealTime( struct cppISteamUtils_SteamUtils009_GetServerRealTime_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->GetServerRealTime( );
}
void cppISteamUtils_SteamUtils009_GetIPCountry( struct cppISteamUtils_SteamUtils009_GetIPCountry_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->GetIPCountry( );
}
void cppISteamUtils_SteamUtils009_GetImageSize( struct cppISteamUtils_SteamUtils009_GetImageSize_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->GetImageSize( params->iImage, params->pnWidth, params->pnHeight );
}
void cppISteamUtils_SteamUtils009_GetImageRGBA( struct cppISteamUtils_SteamUtils009_GetImageRGBA_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->GetImageRGBA( params->iImage, params->pubDest, params->nDestBufferSize );
}
void cppISteamUtils_SteamUtils009_GetCSERIPPort( struct cppISteamUtils_SteamUtils009_GetCSERIPPort_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->GetCSERIPPort( params->unIP, params->usPort );
}
void cppISteamUtils_SteamUtils009_GetCurrentBatteryPower( struct cppISteamUtils_SteamUtils009_GetCurrentBatteryPower_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->GetCurrentBatteryPower( );
}
void cppISteamUtils_SteamUtils009_GetAppID( struct cppISteamUtils_SteamUtils009_GetAppID_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->GetAppID( );
}
void cppISteamUtils_SteamUtils009_SetOverlayNotificationPosition( struct cppISteamUtils_SteamUtils009_SetOverlayNotificationPosition_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
iface->SetOverlayNotificationPosition( params->eNotificationPosition );
}
void cppISteamUtils_SteamUtils009_IsAPICallCompleted( struct cppISteamUtils_SteamUtils009_IsAPICallCompleted_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->IsAPICallCompleted( params->hSteamAPICall, params->pbFailed );
}
void cppISteamUtils_SteamUtils009_GetAPICallFailureReason( struct cppISteamUtils_SteamUtils009_GetAPICallFailureReason_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->GetAPICallFailureReason( params->hSteamAPICall );
}
void cppISteamUtils_SteamUtils009_GetAPICallResult( struct cppISteamUtils_SteamUtils009_GetAPICallResult_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->GetAPICallResult( params->hSteamAPICall, params->pCallback, params->cubCallback, params->iCallbackExpected, params->pbFailed );
}
void cppISteamUtils_SteamUtils009_RunFrame( struct cppISteamUtils_SteamUtils009_RunFrame_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
iface->RunFrame( );
}
void cppISteamUtils_SteamUtils009_GetIPCCallCount( struct cppISteamUtils_SteamUtils009_GetIPCCallCount_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->GetIPCCallCount( );
}
void cppISteamUtils_SteamUtils009_SetWarningMessageHook( struct cppISteamUtils_SteamUtils009_SetWarningMessageHook_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
void (*U_CDECL lin_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction );
iface->SetWarningMessageHook( lin_pFunction );
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction );
iface->SetWarningMessageHook( u_pFunction );
}
void cppISteamUtils_SteamUtils009_IsOverlayEnabled( struct cppISteamUtils_SteamUtils009_IsOverlayEnabled_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->IsOverlayEnabled( );
}
void cppISteamUtils_SteamUtils009_BOverlayNeedsPresent( struct cppISteamUtils_SteamUtils009_BOverlayNeedsPresent_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->BOverlayNeedsPresent( );
}
void cppISteamUtils_SteamUtils009_CheckFileSignature( struct cppISteamUtils_SteamUtils009_CheckFileSignature_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->CheckFileSignature( params->szFileName );
}
void cppISteamUtils_SteamUtils009_ShowGamepadTextInput( struct cppISteamUtils_SteamUtils009_ShowGamepadTextInput_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->ShowGamepadTextInput( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText );
}
void cppISteamUtils_SteamUtils009_GetEnteredGamepadTextLength( struct cppISteamUtils_SteamUtils009_GetEnteredGamepadTextLength_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->GetEnteredGamepadTextLength( );
}
void cppISteamUtils_SteamUtils009_GetEnteredGamepadTextInput( struct cppISteamUtils_SteamUtils009_GetEnteredGamepadTextInput_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->GetEnteredGamepadTextInput( params->pchText, params->cchText );
}
void cppISteamUtils_SteamUtils009_GetSteamUILanguage( struct cppISteamUtils_SteamUtils009_GetSteamUILanguage_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->GetSteamUILanguage( );
}
void cppISteamUtils_SteamUtils009_IsSteamRunningInVR( struct cppISteamUtils_SteamUtils009_IsSteamRunningInVR_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->IsSteamRunningInVR( );
}
void cppISteamUtils_SteamUtils009_SetOverlayNotificationInset( struct cppISteamUtils_SteamUtils009_SetOverlayNotificationInset_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
iface->SetOverlayNotificationInset( params->nHorizontalInset, params->nVerticalInset );
}
void cppISteamUtils_SteamUtils009_IsSteamInBigPictureMode( struct cppISteamUtils_SteamUtils009_IsSteamInBigPictureMode_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->IsSteamInBigPictureMode( );
}
void cppISteamUtils_SteamUtils009_StartVRDashboard( struct cppISteamUtils_SteamUtils009_StartVRDashboard_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
iface->StartVRDashboard( );
}
void cppISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled( struct cppISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->IsVRHeadsetStreamingEnabled( );
}
void cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled( struct cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
iface->SetVRHeadsetStreamingEnabled( params->bEnabled );
}
void cppISteamUtils_SteamUtils009_IsSteamChinaLauncher( struct cppISteamUtils_SteamUtils009_IsSteamChinaLauncher_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->IsSteamChinaLauncher( );
}
void cppISteamUtils_SteamUtils009_InitFilterText( struct cppISteamUtils_SteamUtils009_InitFilterText_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->InitFilterText( );
}
void cppISteamUtils_SteamUtils009_FilterText( struct cppISteamUtils_SteamUtils009_FilterText_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->FilterText( params->pchOutFilteredText, params->nByteSizeOutFilteredText, params->pchInputMessage, params->bLegalOnly );
}
void cppISteamUtils_SteamUtils009_GetIPv6ConnectivityState( struct cppISteamUtils_SteamUtils009_GetIPv6ConnectivityState_params *params )
{
struct cppISteamUtils_SteamUtils009 *iface = (struct cppISteamUtils_SteamUtils009 *)params->linux_side;
struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side;
params->_ret = iface->GetIPv6ConnectivityState( params->eProtocol );
}
#ifdef __cplusplus
}
#endif