Proton/lsteamclient/cppISteamUser_SteamUser016.cpp

127 lines
6.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_123a/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_123a
#include "struct_converters.h"
#include "cppISteamUser_SteamUser016.h"
void cppISteamUser_SteamUser016_GetHSteamUser( struct cppISteamUser_SteamUser016_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_SteamUser016_BLoggedOn( struct cppISteamUser_SteamUser016_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_SteamUser016_GetSteamID( struct cppISteamUser_SteamUser016_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_SteamUser016_InitiateGameConnection( struct cppISteamUser_SteamUser016_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_SteamUser016_TerminateGameConnection( struct cppISteamUser_SteamUser016_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_SteamUser016_TrackAppUsageEvent( struct cppISteamUser_SteamUser016_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
}
void cppISteamUser_SteamUser016_GetUserDataFolder( struct cppISteamUser_SteamUser016_GetUserDataFolder_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamUser*)params->linux_side)->GetUserDataFolder( (char *)params->pchBuffer, (int)params->cubBuffer );
2018-01-18 19:24:05 +03:00
}
void cppISteamUser_SteamUser016_StartVoiceRecording( struct cppISteamUser_SteamUser016_StartVoiceRecording_params *params )
2018-01-18 19:24:05 +03:00
{
((ISteamUser*)params->linux_side)->StartVoiceRecording( );
2018-01-18 19:24:05 +03:00
}
void cppISteamUser_SteamUser016_StopVoiceRecording( struct cppISteamUser_SteamUser016_StopVoiceRecording_params *params )
2018-01-18 19:24:05 +03:00
{
((ISteamUser*)params->linux_side)->StopVoiceRecording( );
2018-01-18 19:24:05 +03:00
}
void cppISteamUser_SteamUser016_GetAvailableVoice( struct cppISteamUser_SteamUser016_GetAvailableVoice_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamUser*)params->linux_side)->GetAvailableVoice( (uint32 *)params->pcbCompressed, (uint32 *)params->pcbUncompressed, (uint32)params->nUncompressedVoiceDesiredSampleRate );
2018-01-18 19:24:05 +03:00
}
void cppISteamUser_SteamUser016_GetVoice( struct cppISteamUser_SteamUser016_GetVoice_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamUser*)params->linux_side)->GetVoice( (bool)params->bWantCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (bool)params->bWantUncompressed, (void *)params->pUncompressedDestBuffer, (uint32)params->cbUncompressedDestBufferSize, (uint32 *)params->nUncompressBytesWritten, (uint32)params->nUncompressedVoiceDesiredSampleRate );
2018-01-18 19:24:05 +03:00
}
void cppISteamUser_SteamUser016_DecompressVoice( struct cppISteamUser_SteamUser016_DecompressVoice_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamUser*)params->linux_side)->DecompressVoice( (const void *)params->pCompressed, (uint32)params->cbCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (uint32)params->nDesiredSampleRate );
2018-01-18 19:24:05 +03:00
}
void cppISteamUser_SteamUser016_GetVoiceOptimalSampleRate( struct cppISteamUser_SteamUser016_GetVoiceOptimalSampleRate_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamUser*)params->linux_side)->GetVoiceOptimalSampleRate( );
2018-01-18 19:24:05 +03:00
}
void cppISteamUser_SteamUser016_GetAuthSessionTicket( struct cppISteamUser_SteamUser016_GetAuthSessionTicket_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamUser*)params->linux_side)->GetAuthSessionTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket );
2018-01-18 19:24:05 +03:00
}
void cppISteamUser_SteamUser016_BeginAuthSession( struct cppISteamUser_SteamUser016_BeginAuthSession_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamUser*)params->linux_side)->BeginAuthSession( (const void *)params->pAuthTicket, (int)params->cbAuthTicket, (CSteamID)params->steamID );
2018-01-18 19:24:05 +03:00
}
void cppISteamUser_SteamUser016_EndAuthSession( struct cppISteamUser_SteamUser016_EndAuthSession_params *params )
2018-01-18 19:24:05 +03:00
{
((ISteamUser*)params->linux_side)->EndAuthSession( (CSteamID)params->steamID );
2018-01-18 19:24:05 +03:00
}
void cppISteamUser_SteamUser016_CancelAuthTicket( struct cppISteamUser_SteamUser016_CancelAuthTicket_params *params )
2018-01-18 19:24:05 +03:00
{
((ISteamUser*)params->linux_side)->CancelAuthTicket( (HAuthTicket)params->hAuthTicket );
2018-01-18 19:24:05 +03:00
}
void cppISteamUser_SteamUser016_UserHasLicenseForApp( struct cppISteamUser_SteamUser016_UserHasLicenseForApp_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamUser*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID );
2018-01-18 19:24:05 +03:00
}
void cppISteamUser_SteamUser016_BIsBehindNAT( struct cppISteamUser_SteamUser016_BIsBehindNAT_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamUser*)params->linux_side)->BIsBehindNAT( );
2018-01-18 19:24:05 +03:00
}
void cppISteamUser_SteamUser016_AdvertiseGame( struct cppISteamUser_SteamUser016_AdvertiseGame_params *params )
2018-01-18 19:24:05 +03:00
{
((ISteamUser*)params->linux_side)->AdvertiseGame( (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer );
2018-01-18 19:24:05 +03:00
}
void cppISteamUser_SteamUser016_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser016_RequestEncryptedAppTicket_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamUser*)params->linux_side)->RequestEncryptedAppTicket( (void *)params->pDataToInclude, (int)params->cbDataToInclude );
2018-01-18 19:24:05 +03:00
}
void cppISteamUser_SteamUser016_GetEncryptedAppTicket( struct cppISteamUser_SteamUser016_GetEncryptedAppTicket_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamUser*)params->linux_side)->GetEncryptedAppTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket );
2018-01-18 19:24:05 +03:00
}
#ifdef __cplusplus
}
#endif