Proton/lsteamclient/cppISteamClient_SteamClient008.cpp

173 lines
9.1 KiB
C++
Raw Normal View History

2018-01-18 19:24:05 +03:00
#include "steam_defs.h"
#pragma push_macro("__cdecl")
#undef __cdecl
#define __cdecl
2018-01-18 19:24:05 +03:00
#include "steamworks_sdk_107/steam_api.h"
#pragma pop_macro("__cdecl")
#include "steamclient_private.h"
2018-01-18 19:24:05 +03:00
#ifdef __cplusplus
extern "C" {
#endif
#define SDKVER_107
#include "struct_converters.h"
#include "cppISteamClient_SteamClient008.h"
struct cppISteamClient_SteamClient008
{
#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( uint32_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 /*ISteamMasterServerUpdater*/ * GetISteamMasterServerUpdater( 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 /*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 RunFrame( ) = 0;
virtual uint32_t GetIPCCallCount( ) = 0;
virtual void SetWarningMessageHook( void (*)(int32_t, const char *) ) = 0;
#endif /* __cplusplus */
};
void cppISteamClient_SteamClient008_CreateSteamPipe( struct cppISteamClient_SteamClient008_CreateSteamPipe_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
params->_ret = iface->CreateSteamPipe( );
params->_ret = after_steam_pipe_create( params->_ret );
2018-01-18 19:24:05 +03:00
}
void cppISteamClient_SteamClient008_BReleaseSteamPipe( struct cppISteamClient_SteamClient008_BReleaseSteamPipe_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
params->_ret = iface->BReleaseSteamPipe( params->hSteamPipe );
2018-01-18 19:24:05 +03:00
}
void cppISteamClient_SteamClient008_ConnectToGlobalUser( struct cppISteamClient_SteamClient008_ConnectToGlobalUser_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
params->_ret = iface->ConnectToGlobalUser( params->hSteamPipe );
2018-01-18 19:24:05 +03:00
}
void cppISteamClient_SteamClient008_CreateLocalUser( struct cppISteamClient_SteamClient008_CreateLocalUser_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
params->_ret = iface->CreateLocalUser( params->phSteamPipe, params->eAccountType );
2018-01-18 19:24:05 +03:00
}
void cppISteamClient_SteamClient008_ReleaseUser( struct cppISteamClient_SteamClient008_ReleaseUser_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
iface->ReleaseUser( params->hSteamPipe, params->hUser );
2018-01-18 19:24:05 +03:00
}
void cppISteamClient_SteamClient008_GetISteamUser( struct cppISteamClient_SteamClient008_GetISteamUser_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
params->_ret = iface->GetISteamUser( params->hSteamUser, params->hSteamPipe, params->pchVersion );
2018-01-18 19:24:05 +03:00
}
void cppISteamClient_SteamClient008_GetISteamGameServer( struct cppISteamClient_SteamClient008_GetISteamGameServer_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
params->_ret = iface->GetISteamGameServer( params->hSteamUser, params->hSteamPipe, params->pchVersion );
2018-01-18 19:24:05 +03:00
}
void cppISteamClient_SteamClient008_SetLocalIPBinding( struct cppISteamClient_SteamClient008_SetLocalIPBinding_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
iface->SetLocalIPBinding( params->unIP, params->usPort );
2018-01-18 19:24:05 +03:00
}
void cppISteamClient_SteamClient008_GetISteamFriends( struct cppISteamClient_SteamClient008_GetISteamFriends_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
params->_ret = iface->GetISteamFriends( params->hSteamUser, params->hSteamPipe, params->pchVersion );
2018-01-18 19:24:05 +03:00
}
void cppISteamClient_SteamClient008_GetISteamUtils( struct cppISteamClient_SteamClient008_GetISteamUtils_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
params->_ret = iface->GetISteamUtils( params->hSteamPipe, params->pchVersion );
2018-01-18 19:24:05 +03:00
}
void cppISteamClient_SteamClient008_GetISteamMatchmaking( struct cppISteamClient_SteamClient008_GetISteamMatchmaking_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
params->_ret = iface->GetISteamMatchmaking( params->hSteamUser, params->hSteamPipe, params->pchVersion );
2018-01-18 19:24:05 +03:00
}
void cppISteamClient_SteamClient008_GetISteamMasterServerUpdater( struct cppISteamClient_SteamClient008_GetISteamMasterServerUpdater_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
params->_ret = iface->GetISteamMasterServerUpdater( params->hSteamUser, params->hSteamPipe, params->pchVersion );
2018-01-18 19:24:05 +03:00
}
void cppISteamClient_SteamClient008_GetISteamMatchmakingServers( struct cppISteamClient_SteamClient008_GetISteamMatchmakingServers_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
params->_ret = iface->GetISteamMatchmakingServers( params->hSteamUser, params->hSteamPipe, params->pchVersion );
2018-01-18 19:24:05 +03:00
}
void cppISteamClient_SteamClient008_GetISteamGenericInterface( struct cppISteamClient_SteamClient008_GetISteamGenericInterface_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
params->_ret = iface->GetISteamGenericInterface( params->hSteamUser, params->hSteamPipe, params->pchVersion );
2018-01-18 19:24:05 +03:00
}
void cppISteamClient_SteamClient008_GetISteamUserStats( struct cppISteamClient_SteamClient008_GetISteamUserStats_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
params->_ret = iface->GetISteamUserStats( params->hSteamUser, params->hSteamPipe, params->pchVersion );
2018-01-18 19:24:05 +03:00
}
void cppISteamClient_SteamClient008_GetISteamApps( struct cppISteamClient_SteamClient008_GetISteamApps_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
params->_ret = iface->GetISteamApps( params->hSteamUser, params->hSteamPipe, params->pchVersion );
2018-01-18 19:24:05 +03:00
}
void cppISteamClient_SteamClient008_GetISteamNetworking( struct cppISteamClient_SteamClient008_GetISteamNetworking_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
params->_ret = iface->GetISteamNetworking( params->hSteamUser, params->hSteamPipe, params->pchVersion );
2018-01-18 19:24:05 +03:00
}
void cppISteamClient_SteamClient008_GetISteamRemoteStorage( struct cppISteamClient_SteamClient008_GetISteamRemoteStorage_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
params->_ret = iface->GetISteamRemoteStorage( params->hSteamuser, params->hSteamPipe, params->pchVersion );
2018-01-18 19:24:05 +03:00
}
void cppISteamClient_SteamClient008_RunFrame( struct cppISteamClient_SteamClient008_RunFrame_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
iface->RunFrame( );
2018-01-18 19:24:05 +03:00
}
void cppISteamClient_SteamClient008_GetIPCCallCount( struct cppISteamClient_SteamClient008_GetIPCCallCount_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
params->_ret = iface->GetIPCCallCount( );
2018-01-18 19:24:05 +03:00
}
void cppISteamClient_SteamClient008_SetWarningMessageHook( struct cppISteamClient_SteamClient008_SetWarningMessageHook_params *params )
2018-01-18 19:24:05 +03:00
{
struct cppISteamClient_SteamClient008 *iface = (struct cppISteamClient_SteamClient008 *)params->linux_side;
void (*lin_pFunction)(int32_t, const char *) = (void (*)(int32_t, const char *))manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction );
iface->SetWarningMessageHook( lin_pFunction );
2018-01-18 19:24:05 +03:00
}
#ifdef __cplusplus
}
#endif