2
0
mirror of https://github.com/ValveSoftware/Proton synced 2025-08-31 14:45:23 +00:00

lsteamclient: Always use a return result variable.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon
2023-09-23 21:44:20 +02:00
committed by Arkadiusz Hiler
parent cc38f0c8c1
commit f6871a6b73
233 changed files with 29134 additions and 10252 deletions

View File

@@ -13,62 +13,86 @@ extern "C" {
#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.h"
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed(void *linux_side)
{
return ((ISteamApps*)linux_side)->BIsSubscribed();
bool _ret;
_ret = ((ISteamApps*)linux_side)->BIsSubscribed();
return (_ret);
}
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence(void *linux_side)
{
return ((ISteamApps*)linux_side)->BIsLowViolence();
bool _ret;
_ret = ((ISteamApps*)linux_side)->BIsLowViolence();
return (_ret);
}
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe(void *linux_side)
{
return ((ISteamApps*)linux_side)->BIsCybercafe();
bool _ret;
_ret = ((ISteamApps*)linux_side)->BIsCybercafe();
return (_ret);
}
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned(void *linux_side)
{
return ((ISteamApps*)linux_side)->BIsVACBanned();
bool _ret;
_ret = ((ISteamApps*)linux_side)->BIsVACBanned();
return (_ret);
}
const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage(void *linux_side)
{
return ((ISteamApps*)linux_side)->GetCurrentGameLanguage();
const char * _ret;
_ret = ((ISteamApps*)linux_side)->GetCurrentGameLanguage();
return (_ret);
}
const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages(void *linux_side)
{
return ((ISteamApps*)linux_side)->GetAvailableGameLanguages();
const char * _ret;
_ret = ((ISteamApps*)linux_side)->GetAvailableGameLanguages();
return (_ret);
}
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp(void *linux_side, AppId_t appID)
{
return ((ISteamApps*)linux_side)->BIsSubscribedApp((AppId_t)appID);
bool _ret;
_ret = ((ISteamApps*)linux_side)->BIsSubscribedApp((AppId_t)appID);
return (_ret);
}
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled(void *linux_side, AppId_t appID)
{
return ((ISteamApps*)linux_side)->BIsDlcInstalled((AppId_t)appID);
bool _ret;
_ret = ((ISteamApps*)linux_side)->BIsDlcInstalled((AppId_t)appID);
return (_ret);
}
uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime(void *linux_side, AppId_t nAppID)
{
return ((ISteamApps*)linux_side)->GetEarliestPurchaseUnixTime((AppId_t)nAppID);
uint32 _ret;
_ret = ((ISteamApps*)linux_side)->GetEarliestPurchaseUnixTime((AppId_t)nAppID);
return (_ret);
}
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend(void *linux_side)
{
return ((ISteamApps*)linux_side)->BIsSubscribedFromFreeWeekend();
bool _ret;
_ret = ((ISteamApps*)linux_side)->BIsSubscribedFromFreeWeekend();
return (_ret);
}
int cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount(void *linux_side)
{
return ((ISteamApps*)linux_side)->GetDLCCount();
int _ret;
_ret = ((ISteamApps*)linux_side)->GetDLCCount();
return (_ret);
}
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex(void *linux_side, int iDLC, AppId_t *pAppID, bool *pbAvailable, char *pchName, int cchNameBufferSize)
{
return ((ISteamApps*)linux_side)->BGetDLCDataByIndex((int)iDLC, (AppId_t *)pAppID, (bool *)pbAvailable, (char *)pchName, (int)cchNameBufferSize);
bool _ret;
_ret = ((ISteamApps*)linux_side)->BGetDLCDataByIndex((int)iDLC, (AppId_t *)pAppID, (bool *)pbAvailable, (char *)pchName, (int)cchNameBufferSize);
return (_ret);
}
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC(void *linux_side, AppId_t nAppID)
@@ -88,37 +112,51 @@ void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey(v
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName(void *linux_side, char *pchName, int cchNameBufferSize)
{
return ((ISteamApps*)linux_side)->GetCurrentBetaName((char *)pchName, (int)cchNameBufferSize);
bool _ret;
_ret = ((ISteamApps*)linux_side)->GetCurrentBetaName((char *)pchName, (int)cchNameBufferSize);
return (_ret);
}
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt(void *linux_side, bool bMissingFilesOnly)
{
return ((ISteamApps*)linux_side)->MarkContentCorrupt((bool)bMissingFilesOnly);
bool _ret;
_ret = ((ISteamApps*)linux_side)->MarkContentCorrupt((bool)bMissingFilesOnly);
return (_ret);
}
uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots(void *linux_side, AppId_t appID, DepotId_t *pvecDepots, uint32 cMaxDepots)
{
return ((ISteamApps*)linux_side)->GetInstalledDepots((AppId_t)appID, (DepotId_t *)pvecDepots, (uint32)cMaxDepots);
uint32 _ret;
_ret = ((ISteamApps*)linux_side)->GetInstalledDepots((AppId_t)appID, (DepotId_t *)pvecDepots, (uint32)cMaxDepots);
return (_ret);
}
uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir(void *linux_side, AppId_t appID, char *pchFolder, uint32 cchFolderBufferSize)
{
return ((ISteamApps*)linux_side)->GetAppInstallDir((AppId_t)appID, (char *)pchFolder, (uint32)cchFolderBufferSize);
uint32 _ret;
_ret = ((ISteamApps*)linux_side)->GetAppInstallDir((AppId_t)appID, (char *)pchFolder, (uint32)cchFolderBufferSize);
return (_ret);
}
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled(void *linux_side, AppId_t appID)
{
return ((ISteamApps*)linux_side)->BIsAppInstalled((AppId_t)appID);
bool _ret;
_ret = ((ISteamApps*)linux_side)->BIsAppInstalled((AppId_t)appID);
return (_ret);
}
CSteamID cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner(void *linux_side)
{
return ((ISteamApps*)linux_side)->GetAppOwner();
CSteamID _ret;
_ret = ((ISteamApps*)linux_side)->GetAppOwner();
return (_ret);
}
const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam(void *linux_side, const char *pchKey)
{
return ((ISteamApps*)linux_side)->GetLaunchQueryParam((const char *)pchKey);
const char * _ret;
_ret = ((ISteamApps*)linux_side)->GetLaunchQueryParam((const char *)pchKey);
return (_ret);
}
#ifdef __cplusplus