Proton/lsteamclient/cppISteamUser_SteamUser010.cpp

47 lines
1.8 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_101/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_101
#include "struct_converters.h"
#include "cppISteamUser_SteamUser010.h"
void cppISteamUser_SteamUser010_GetHSteamUser( struct cppISteamUser_SteamUser010_GetHSteamUser_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( );
2018-01-18 19:24:05 +03:00
}
void cppISteamUser_SteamUser010_BLoggedOn( struct cppISteamUser_SteamUser010_BLoggedOn_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( );
2018-01-18 19:24:05 +03:00
}
void cppISteamUser_SteamUser010_GetSteamID( struct cppISteamUser_SteamUser010_GetSteamID_params *params )
2018-01-18 19:24:05 +03:00
{
*params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( );
2018-01-18 19:24:05 +03:00
}
void cppISteamUser_SteamUser010_InitiateGameConnection( struct cppISteamUser_SteamUser010_InitiateGameConnection_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection( (void *)params->pAuthBlob, (int)params->cbMaxAuthBlob, (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure );
2018-01-18 19:24:05 +03:00
}
void cppISteamUser_SteamUser010_TerminateGameConnection( struct cppISteamUser_SteamUser010_TerminateGameConnection_params *params )
2018-01-18 19:24:05 +03:00
{
((ISteamUser*)params->linux_side)->TerminateGameConnection( (uint32)params->unIPServer, (uint16)params->usPortServer );
2018-01-18 19:24:05 +03:00
}
void cppISteamUser_SteamUser010_TrackAppUsageEvent( struct cppISteamUser_SteamUser010_TrackAppUsageEvent_params *params )
2018-01-18 19:24:05 +03:00
{
((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo );
2018-01-18 19:24:05 +03:00
}
#ifdef __cplusplus
}
#endif