6b21c32d2a
CW-Bug-Id: #22729
71 lines
3 KiB
C++
71 lines
3 KiB
C++
#include "steam_defs.h"
|
|
#pragma push_macro("__cdecl")
|
|
#undef __cdecl
|
|
#define __cdecl
|
|
#include "steamworks_sdk_103/steam_api.h"
|
|
#pragma pop_macro("__cdecl")
|
|
#include "steamclient_private.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#define SDKVER_103
|
|
#include "struct_converters.h"
|
|
#include "cppISteamUser_SteamUser011.h"
|
|
void cppISteamUser_SteamUser011_GetHSteamUser( struct cppISteamUser_SteamUser011_GetHSteamUser_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetHSteamUser( );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser011_BLoggedOn( struct cppISteamUser_SteamUser011_BLoggedOn_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->BLoggedOn( );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser011_GetSteamID( struct cppISteamUser_SteamUser011_GetSteamID_params *params )
|
|
{
|
|
*params->_ret = ((ISteamUser*)params->linux_side)->GetSteamID( );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser011_InitiateGameConnection( struct cppISteamUser_SteamUser011_InitiateGameConnection_params *params )
|
|
{
|
|
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 );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser011_TerminateGameConnection( struct cppISteamUser_SteamUser011_TerminateGameConnection_params *params )
|
|
{
|
|
((ISteamUser*)params->linux_side)->TerminateGameConnection( (uint32)params->unIPServer, (uint16)params->usPortServer );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser011_TrackAppUsageEvent( struct cppISteamUser_SteamUser011_TrackAppUsageEvent_params *params )
|
|
{
|
|
((ISteamUser*)params->linux_side)->TrackAppUsageEvent( (CGameID)params->gameID, (int)params->eAppUsageEvent, (const char *)params->pchExtraInfo );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser011_GetUserDataFolder( struct cppISteamUser_SteamUser011_GetUserDataFolder_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetUserDataFolder( (char *)params->pchBuffer, (int)params->cubBuffer );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser011_StartVoiceRecording( struct cppISteamUser_SteamUser011_StartVoiceRecording_params *params )
|
|
{
|
|
((ISteamUser*)params->linux_side)->StartVoiceRecording( );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser011_StopVoiceRecording( struct cppISteamUser_SteamUser011_StopVoiceRecording_params *params )
|
|
{
|
|
((ISteamUser*)params->linux_side)->StopVoiceRecording( );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser011_GetCompressedVoice( struct cppISteamUser_SteamUser011_GetCompressedVoice_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->GetCompressedVoice( (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten );
|
|
}
|
|
|
|
void cppISteamUser_SteamUser011_DecompressVoice( struct cppISteamUser_SteamUser011_DecompressVoice_params *params )
|
|
{
|
|
params->_ret = ((ISteamUser*)params->linux_side)->DecompressVoice( (void *)params->pCompressed, (uint32)params->cbCompressed, (void *)params->pDestBuffer, (uint32)params->cbDestBufferSize, (uint32 *)params->nBytesWritten );
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|