2023-09-30 14:02:30 +02:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2019-02-26 09:05:29 -06:00
|
|
|
#include "cppISteamUser_SteamUser010.h"
|
2023-09-23 23:44:45 +02:00
|
|
|
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUser_SteamUser010
|
2023-09-23 23:44:45 +02:00
|
|
|
{
|
|
|
|
#ifdef __cplusplus
|
|
|
|
virtual int32_t GetHSteamUser( ) = 0;
|
|
|
|
virtual bool BLoggedOn( ) = 0;
|
|
|
|
virtual CSteamID GetSteamID( ) = 0;
|
|
|
|
virtual int32_t InitiateGameConnection( void *, int32_t, CSteamID, uint32_t, uint16_t, bool ) = 0;
|
|
|
|
virtual void TerminateGameConnection( uint32_t, uint16_t ) = 0;
|
|
|
|
virtual void TrackAppUsageEvent( CGameID, int32_t, const char * ) = 0;
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
};
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamUser_SteamUser010_GetHSteamUser( struct cppISteamUser_SteamUser010_GetHSteamUser_params *params )
|
2018-01-18 10:24:05 -06:00
|
|
|
{
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUser_SteamUser010 *iface = (struct u_ISteamUser_SteamUser010 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetHSteamUser( );
|
2018-01-18 10:24:05 -06:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamUser_SteamUser010_BLoggedOn( struct cppISteamUser_SteamUser010_BLoggedOn_params *params )
|
2018-01-18 10:24:05 -06:00
|
|
|
{
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUser_SteamUser010 *iface = (struct u_ISteamUser_SteamUser010 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->BLoggedOn( );
|
2018-01-18 10:24:05 -06:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamUser_SteamUser010_GetSteamID( struct cppISteamUser_SteamUser010_GetSteamID_params *params )
|
2018-01-18 10:24:05 -06:00
|
|
|
{
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUser_SteamUser010 *iface = (struct u_ISteamUser_SteamUser010 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
*params->_ret = iface->GetSteamID( );
|
2018-01-18 10:24:05 -06:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamUser_SteamUser010_InitiateGameConnection( struct cppISteamUser_SteamUser010_InitiateGameConnection_params *params )
|
2018-01-18 10:24:05 -06:00
|
|
|
{
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUser_SteamUser010 *iface = (struct u_ISteamUser_SteamUser010 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->InitiateGameConnection( params->pAuthBlob, params->cbMaxAuthBlob, params->steamIDGameServer, params->unIPServer, params->usPortServer, params->bSecure );
|
2018-01-18 10:24:05 -06:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamUser_SteamUser010_TerminateGameConnection( struct cppISteamUser_SteamUser010_TerminateGameConnection_params *params )
|
2018-01-18 10:24:05 -06:00
|
|
|
{
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUser_SteamUser010 *iface = (struct u_ISteamUser_SteamUser010 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->TerminateGameConnection( params->unIPServer, params->usPortServer );
|
2018-01-18 10:24:05 -06:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamUser_SteamUser010_TrackAppUsageEvent( struct cppISteamUser_SteamUser010_TrackAppUsageEvent_params *params )
|
2018-01-18 10:24:05 -06:00
|
|
|
{
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamUser_SteamUser010 *iface = (struct u_ISteamUser_SteamUser010 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo );
|
2018-01-18 10:24:05 -06:00
|
|
|
}
|
|
|
|
|