Yucom/lsteamclient/cppISteamClient_SteamClient020.hpp
2024-02-15 15:53:26 +02:00

317 lines
18 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 "cppISteamClient_SteamClient020.h"
struct cppISteamClient_SteamClient020
{
#ifdef __cplusplus
virtual int32_t CreateSteamPipe( ) = 0;
virtual bool BReleaseSteamPipe( int32_t ) = 0;
virtual int32_t ConnectToGlobalUser( int32_t ) = 0;
virtual int32_t CreateLocalUser( int32_t *, uint32_t ) = 0;
virtual void ReleaseUser( int32_t, int32_t ) = 0;
virtual void /*ISteamUser*/ * GetISteamUser( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamGameServer*/ * GetISteamGameServer( int32_t, int32_t, const char * ) = 0;
virtual void SetLocalIPBinding( const SteamIPAddress_t *, uint16_t ) = 0;
virtual void /*ISteamFriends*/ * GetISteamFriends( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamUtils*/ * GetISteamUtils( int32_t, const char * ) = 0;
virtual void /*ISteamMatchmaking*/ * GetISteamMatchmaking( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamMatchmakingServers*/ * GetISteamMatchmakingServers( int32_t, int32_t, const char * ) = 0;
virtual void * GetISteamGenericInterface( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamUserStats*/ * GetISteamUserStats( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamGameServerStats*/ * GetISteamGameServerStats( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamApps*/ * GetISteamApps( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamNetworking*/ * GetISteamNetworking( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamRemoteStorage*/ * GetISteamRemoteStorage( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamScreenshots*/ * GetISteamScreenshots( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamGameSearch*/ * GetISteamGameSearch( int32_t, int32_t, const char * ) = 0;
virtual void RunFrame( ) = 0;
virtual uint32_t GetIPCCallCount( ) = 0;
virtual void SetWarningMessageHook( void (*)(int32_t, const char *) ) = 0;
virtual bool BShutdownIfAllPipesClosed( ) = 0;
virtual void /*ISteamHTTP*/ * GetISteamHTTP( int32_t, int32_t, const char * ) = 0;
virtual void * DEPRECATED_GetISteamUnifiedMessages( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamController*/ * GetISteamController( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamUGC*/ * GetISteamUGC( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamAppList*/ * GetISteamAppList( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamMusic*/ * GetISteamMusic( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamMusicRemote*/ * GetISteamMusicRemote( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamHTMLSurface*/ * GetISteamHTMLSurface( int32_t, int32_t, const char * ) = 0;
virtual void DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( void (*)(void) ) = 0;
virtual void DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( void (*)(void) ) = 0;
virtual void Set_SteamAPI_CCheckCallbackRegisteredInProcess( uint32_t (*)(int32_t) ) = 0;
virtual void /*ISteamInventory*/ * GetISteamInventory( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamVideo*/ * GetISteamVideo( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamParentalSettings*/ * GetISteamParentalSettings( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamInput*/ * GetISteamInput( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamParties*/ * GetISteamParties( int32_t, int32_t, const char * ) = 0;
virtual void /*ISteamRemotePlay*/ * GetISteamRemotePlay( int32_t, int32_t, const char * ) = 0;
virtual void DestroyAllInterfaces( ) = 0;
#endif /* __cplusplus */
};
void cppISteamClient_SteamClient020_CreateSteamPipe( struct cppISteamClient_SteamClient020_CreateSteamPipe_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->CreateSteamPipe( );
params->_ret = after_steam_pipe_create( params->_ret );
}
void cppISteamClient_SteamClient020_BReleaseSteamPipe( struct cppISteamClient_SteamClient020_BReleaseSteamPipe_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->BReleaseSteamPipe( params->hSteamPipe );
}
void cppISteamClient_SteamClient020_ConnectToGlobalUser( struct cppISteamClient_SteamClient020_ConnectToGlobalUser_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->ConnectToGlobalUser( params->hSteamPipe );
}
void cppISteamClient_SteamClient020_CreateLocalUser( struct cppISteamClient_SteamClient020_CreateLocalUser_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->CreateLocalUser( params->phSteamPipe, params->eAccountType );
}
void cppISteamClient_SteamClient020_ReleaseUser( struct cppISteamClient_SteamClient020_ReleaseUser_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
iface->ReleaseUser( params->hSteamPipe, params->hUser );
}
void cppISteamClient_SteamClient020_GetISteamUser( struct cppISteamClient_SteamClient020_GetISteamUser_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamUser( params->hSteamUser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamGameServer( struct cppISteamClient_SteamClient020_GetISteamGameServer_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamGameServer( params->hSteamUser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_SetLocalIPBinding( struct cppISteamClient_SteamClient020_SetLocalIPBinding_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
iface->SetLocalIPBinding( params->unIP, params->usPort );
}
void cppISteamClient_SteamClient020_GetISteamFriends( struct cppISteamClient_SteamClient020_GetISteamFriends_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamFriends( params->hSteamUser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamUtils( struct cppISteamClient_SteamClient020_GetISteamUtils_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamUtils( params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamMatchmaking( struct cppISteamClient_SteamClient020_GetISteamMatchmaking_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamMatchmaking( params->hSteamUser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient020_GetISteamMatchmakingServers_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamMatchmakingServers( params->hSteamUser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamGenericInterface( struct cppISteamClient_SteamClient020_GetISteamGenericInterface_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamGenericInterface( params->hSteamUser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamUserStats( struct cppISteamClient_SteamClient020_GetISteamUserStats_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamUserStats( params->hSteamUser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamGameServerStats( struct cppISteamClient_SteamClient020_GetISteamGameServerStats_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamGameServerStats( params->hSteamuser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamApps( struct cppISteamClient_SteamClient020_GetISteamApps_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamApps( params->hSteamUser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamNetworking( struct cppISteamClient_SteamClient020_GetISteamNetworking_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamNetworking( params->hSteamUser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamRemoteStorage( struct cppISteamClient_SteamClient020_GetISteamRemoteStorage_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamRemoteStorage( params->hSteamuser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamScreenshots( struct cppISteamClient_SteamClient020_GetISteamScreenshots_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamScreenshots( params->hSteamuser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamGameSearch( struct cppISteamClient_SteamClient020_GetISteamGameSearch_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamGameSearch( params->hSteamuser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_RunFrame( struct cppISteamClient_SteamClient020_RunFrame_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
iface->RunFrame( );
}
void cppISteamClient_SteamClient020_GetIPCCallCount( struct cppISteamClient_SteamClient020_GetIPCCallCount_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetIPCCallCount( );
}
void cppISteamClient_SteamClient020_SetWarningMessageHook( struct cppISteamClient_SteamClient020_SetWarningMessageHook_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
void (*U_CDECL lin_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction );
iface->SetWarningMessageHook( lin_pFunction );
}
void cppISteamClient_SteamClient020_BShutdownIfAllPipesClosed( struct cppISteamClient_SteamClient020_BShutdownIfAllPipesClosed_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->BShutdownIfAllPipesClosed( );
params->_ret = after_shutdown( params->_ret );
}
void cppISteamClient_SteamClient020_GetISteamHTTP( struct cppISteamClient_SteamClient020_GetISteamHTTP_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamHTTP( params->hSteamuser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages( struct cppISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->DEPRECATED_GetISteamUnifiedMessages( params->hSteamuser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamController( struct cppISteamClient_SteamClient020_GetISteamController_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamController( params->hSteamUser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamUGC( struct cppISteamClient_SteamClient020_GetISteamUGC_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamUGC( params->hSteamUser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamAppList( struct cppISteamClient_SteamClient020_GetISteamAppList_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamAppList( params->hSteamUser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamMusic( struct cppISteamClient_SteamClient020_GetISteamMusic_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamMusic( params->hSteamuser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamMusicRemote( struct cppISteamClient_SteamClient020_GetISteamMusicRemote_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamMusicRemote( params->hSteamuser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamHTMLSurface( struct cppISteamClient_SteamClient020_GetISteamHTMLSurface_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamHTMLSurface( params->hSteamuser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
void (*U_STDCALL lin__a)(void) = manual_convert_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess__a( params->_a );
iface->DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( lin__a );
}
void cppISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( struct cppISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
void (*U_STDCALL lin__a)(void) = manual_convert_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess__a( params->_a );
iface->DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( lin__a );
}
void cppISteamClient_SteamClient020_GetISteamInventory( struct cppISteamClient_SteamClient020_GetISteamInventory_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamInventory( params->hSteamuser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamVideo( struct cppISteamClient_SteamClient020_GetISteamVideo_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamVideo( params->hSteamuser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamParentalSettings( struct cppISteamClient_SteamClient020_GetISteamParentalSettings_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamParentalSettings( params->hSteamuser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamInput( struct cppISteamClient_SteamClient020_GetISteamInput_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamInput( params->hSteamUser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamParties( struct cppISteamClient_SteamClient020_GetISteamParties_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamParties( params->hSteamUser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_GetISteamRemotePlay( struct cppISteamClient_SteamClient020_GetISteamRemotePlay_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
params->_ret = iface->GetISteamRemotePlay( params->hSteamUser, params->hSteamPipe, params->pchVersion );
}
void cppISteamClient_SteamClient020_DestroyAllInterfaces( struct cppISteamClient_SteamClient020_DestroyAllInterfaces_params *params )
{
struct cppISteamClient_SteamClient020 *iface = (struct cppISteamClient_SteamClient020 *)params->linux_side;
iface->DestroyAllInterfaces( );
}
#ifdef __cplusplus
}
#endif