mirror of
https://github.com/ValveSoftware/Proton
synced 2025-08-31 06:35:23 +00:00
committed by
Arkadiusz Hiler
parent
cc38f0c8c1
commit
f6871a6b73
@@ -13,22 +13,30 @@ extern "C" {
|
||||
#include "cppISteamUser_SteamUser013.h"
|
||||
HSteamUser cppISteamUser_SteamUser013_GetHSteamUser(void *linux_side)
|
||||
{
|
||||
return ((ISteamUser*)linux_side)->GetHSteamUser();
|
||||
HSteamUser _ret;
|
||||
_ret = ((ISteamUser*)linux_side)->GetHSteamUser();
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
bool cppISteamUser_SteamUser013_BLoggedOn(void *linux_side)
|
||||
{
|
||||
return ((ISteamUser*)linux_side)->BLoggedOn();
|
||||
bool _ret;
|
||||
_ret = ((ISteamUser*)linux_side)->BLoggedOn();
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
CSteamID cppISteamUser_SteamUser013_GetSteamID(void *linux_side)
|
||||
{
|
||||
return ((ISteamUser*)linux_side)->GetSteamID();
|
||||
CSteamID _ret;
|
||||
_ret = ((ISteamUser*)linux_side)->GetSteamID();
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
int cppISteamUser_SteamUser013_InitiateGameConnection(void *linux_side, void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure)
|
||||
{
|
||||
return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure);
|
||||
int _ret;
|
||||
_ret = ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
void cppISteamUser_SteamUser013_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer)
|
||||
@@ -43,7 +51,9 @@ void cppISteamUser_SteamUser013_TrackAppUsageEvent(void *linux_side, CGameID gam
|
||||
|
||||
bool cppISteamUser_SteamUser013_GetUserDataFolder(void *linux_side, char *pchBuffer, int cubBuffer)
|
||||
{
|
||||
return ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer);
|
||||
bool _ret;
|
||||
_ret = ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
void cppISteamUser_SteamUser013_StartVoiceRecording(void *linux_side)
|
||||
@@ -58,27 +68,37 @@ void cppISteamUser_SteamUser013_StopVoiceRecording(void *linux_side)
|
||||
|
||||
EVoiceResult cppISteamUser_SteamUser013_GetAvailableVoice(void *linux_side, uint32 *pcbCompressed, uint32 *pcbUncompressed)
|
||||
{
|
||||
return ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed);
|
||||
EVoiceResult _ret;
|
||||
_ret = ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
EVoiceResult cppISteamUser_SteamUser013_GetVoice(void *linux_side, bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed, void *pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 *nUncompressBytesWritten)
|
||||
{
|
||||
return ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed, (void *)pUncompressedDestBuffer, (uint32)cbUncompressedDestBufferSize, (uint32 *)nUncompressBytesWritten);
|
||||
EVoiceResult _ret;
|
||||
_ret = ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed, (void *)pUncompressedDestBuffer, (uint32)cbUncompressedDestBufferSize, (uint32 *)nUncompressBytesWritten);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
EVoiceResult cppISteamUser_SteamUser013_DecompressVoice(void *linux_side, const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten)
|
||||
{
|
||||
return ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten);
|
||||
EVoiceResult _ret;
|
||||
_ret = ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
HAuthTicket cppISteamUser_SteamUser013_GetAuthSessionTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket)
|
||||
{
|
||||
return ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket);
|
||||
HAuthTicket _ret;
|
||||
_ret = ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
EBeginAuthSessionResult cppISteamUser_SteamUser013_BeginAuthSession(void *linux_side, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID)
|
||||
{
|
||||
return ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID);
|
||||
EBeginAuthSessionResult _ret;
|
||||
_ret = ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
void cppISteamUser_SteamUser013_EndAuthSession(void *linux_side, CSteamID steamID)
|
||||
@@ -93,7 +113,9 @@ void cppISteamUser_SteamUser013_CancelAuthTicket(void *linux_side, HAuthTicket h
|
||||
|
||||
EUserHasLicenseForAppResult cppISteamUser_SteamUser013_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID)
|
||||
{
|
||||
return ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID);
|
||||
EUserHasLicenseForAppResult _ret;
|
||||
_ret = ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID);
|
||||
return (_ret);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Reference in New Issue
Block a user