mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-28 23:55:52 +03:00
6b21c32d2a
CW-Bug-Id: #22729
178 lines
8.5 KiB
C++
178 lines
8.5 KiB
C++
#include "steam_defs.h"
|
|
#pragma push_macro("__cdecl")
|
|
#undef __cdecl
|
|
#define __cdecl
|
|
#include "steamworks_sdk_156/steam_api.h"
|
|
#include "steamworks_sdk_156/steamnetworkingtypes.h"
|
|
#pragma pop_macro("__cdecl")
|
|
#include "steamclient_private.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#define SDKVER_156
|
|
#include "struct_converters.h"
|
|
#include "cppISteamUser_SteamUser022.h"
|
|
void cppISteamUser_SteamUser022_GetHSteamUser( struct cppISteamUser_SteamUser022_GetHSteamUser_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_BLoggedOn( struct cppISteamUser_SteamUser022_BLoggedOn_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_GetSteamID( struct cppISteamUser_SteamUser022_GetSteamID_params *params )
|
|
{
|
|
*params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED( struct cppISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->InitiateGameConnection_DEPRECATED( (void *)params->pAuthBlob, (int)params->cbMaxAuthBlob, (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer, (bool)params->bSecure );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED( struct cppISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED_params *params )
|
|
{
|
|
((ISteamUser*)params->linux_side)->TerminateGameConnection_DEPRECATED( (uint32)params->unIPServer, (uint16)params->usPortServer );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_TrackAppUsageEvent( struct cppISteamUser_SteamUser022_TrackAppUsageEvent_params *params )
|
|
{
|
|
((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_GetUserDataFolder( struct cppISteamUser_SteamUser022_GetUserDataFolder_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetUserDataFolder( (char *)params->pchBuffer, (int)params->cubBuffer );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_StartVoiceRecording( struct cppISteamUser_SteamUser022_StartVoiceRecording_params *params )
|
|
{
|
|
((ISteamUser*)params->linux_side)->StartVoiceRecording( );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_StopVoiceRecording( struct cppISteamUser_SteamUser022_StopVoiceRecording_params *params )
|
|
{
|
|
((ISteamUser*)params->linux_side)->StopVoiceRecording( );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_GetAvailableVoice( struct cppISteamUser_SteamUser022_GetAvailableVoice_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetAvailableVoice( (uint32 *)params->pcbCompressed, (uint32 *)params->pcbUncompressed_Deprecated, (uint32)params->nUncompressedVoiceDesiredSampleRate_Deprecated );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_GetVoice( struct cppISteamUser_SteamUser022_GetVoice_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetVoice( (bool)params->bWantCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten, (bool)params->bWantUncompressed_Deprecated, (void *)params->pUncompressedDestBuffer_Deprecated, (uint32)params->cbUncompressedDestBufferSize_Deprecated, (uint32 *)params->nUncompressBytesWritten_Deprecated, (uint32)params->nUncompressedVoiceDesiredSampleRate_Deprecated );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_DecompressVoice( struct cppISteamUser_SteamUser022_DecompressVoice_params *params )
|
|
{
|
|
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 );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_GetVoiceOptimalSampleRate( struct cppISteamUser_SteamUser022_GetVoiceOptimalSampleRate_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetVoiceOptimalSampleRate( );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_GetAuthSessionTicket( struct cppISteamUser_SteamUser022_GetAuthSessionTicket_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetAuthSessionTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket, (const SteamNetworkingIdentity *)params->pSteamNetworkingIdentity );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_BeginAuthSession( struct cppISteamUser_SteamUser022_BeginAuthSession_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->BeginAuthSession( (const void *)params->pAuthTicket, (int)params->cbAuthTicket, (CSteamID)params->steamID );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_EndAuthSession( struct cppISteamUser_SteamUser022_EndAuthSession_params *params )
|
|
{
|
|
((ISteamUser*)params->linux_side)->EndAuthSession( (CSteamID)params->steamID );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_CancelAuthTicket( struct cppISteamUser_SteamUser022_CancelAuthTicket_params *params )
|
|
{
|
|
((ISteamUser*)params->linux_side)->CancelAuthTicket( (HAuthTicket)params->hAuthTicket );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_UserHasLicenseForApp( struct cppISteamUser_SteamUser022_UserHasLicenseForApp_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->UserHasLicenseForApp( (CSteamID)params->steamID, (AppId_t)params->appID );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_BIsBehindNAT( struct cppISteamUser_SteamUser022_BIsBehindNAT_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->BIsBehindNAT( );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_AdvertiseGame( struct cppISteamUser_SteamUser022_AdvertiseGame_params *params )
|
|
{
|
|
((ISteamUser*)params->linux_side)->AdvertiseGame( (CSteamID)params->steamIDGameServer, (uint32)params->unIPServer, (uint16)params->usPortServer );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_RequestEncryptedAppTicket( struct cppISteamUser_SteamUser022_RequestEncryptedAppTicket_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->RequestEncryptedAppTicket( (void *)params->pDataToInclude, (int)params->cbDataToInclude );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_GetEncryptedAppTicket( struct cppISteamUser_SteamUser022_GetEncryptedAppTicket_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetEncryptedAppTicket( (void *)params->pTicket, (int)params->cbMaxTicket, (uint32 *)params->pcbTicket );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_GetGameBadgeLevel( struct cppISteamUser_SteamUser022_GetGameBadgeLevel_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetGameBadgeLevel( (int)params->nSeries, (bool)params->bFoil );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_GetPlayerSteamLevel( struct cppISteamUser_SteamUser022_GetPlayerSteamLevel_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetPlayerSteamLevel( );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_RequestStoreAuthURL( struct cppISteamUser_SteamUser022_RequestStoreAuthURL_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->RequestStoreAuthURL( (const char *)params->pchRedirectURL );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_BIsPhoneVerified( struct cppISteamUser_SteamUser022_BIsPhoneVerified_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->BIsPhoneVerified( );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_BIsTwoFactorEnabled( struct cppISteamUser_SteamUser022_BIsTwoFactorEnabled_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->BIsTwoFactorEnabled( );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_BIsPhoneIdentifying( struct cppISteamUser_SteamUser022_BIsPhoneIdentifying_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->BIsPhoneIdentifying( );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_BIsPhoneRequiringVerification( struct cppISteamUser_SteamUser022_BIsPhoneRequiringVerification_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->BIsPhoneRequiringVerification( );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_GetMarketEligibility( struct cppISteamUser_SteamUser022_GetMarketEligibility_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetMarketEligibility( );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_GetDurationControl( struct cppISteamUser_SteamUser022_GetDurationControl_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetDurationControl( );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser022_BSetDurationControlOnlineState( struct cppISteamUser_SteamUser022_BSetDurationControlOnlineState_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->BSetDurationControlOnlineState( (EDurationControlOnlineState)params->eNewState );
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|