lsteamclient: Use declspec to generate C++ method signature.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-09-23 16:11:42 +02:00 committed by Arkadiusz Hiler
parent 992384b88f
commit 122e0e362c
192 changed files with 2659 additions and 2666 deletions

View file

@ -21,7 +21,7 @@ const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName(
return ((ISteamUserStats*)linux_side)->GetStatName((CGameID)nGameID, (uint32)iStat);
}
ESteamUserStatType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType(void *linux_side, CGameID nGameID, const char * pchName)
ESteamUserStatType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType(void *linux_side, CGameID nGameID, const char *pchName)
{
return ((ISteamUserStats*)linux_side)->GetStatType((CGameID)nGameID, (const char *)pchName);
}
@ -41,42 +41,42 @@ bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats(
return ((ISteamUserStats*)linux_side)->RequestCurrentStats((CGameID)nGameID);
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat(void *linux_side, CGameID nGameID, const char * pchName, int32 * pData)
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat(void *linux_side, CGameID nGameID, const char *pchName, int32 *pData)
{
return ((ISteamUserStats*)linux_side)->GetStat((CGameID)nGameID, (const char *)pchName, (int32 *)pData);
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2(void *linux_side, CGameID nGameID, const char * pchName, float * pData)
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2(void *linux_side, CGameID nGameID, const char *pchName, float *pData)
{
return ((ISteamUserStats*)linux_side)->GetStat((CGameID)nGameID, (const char *)pchName, (float *)pData);
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat(void *linux_side, CGameID nGameID, const char * pchName, int32 nData)
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat(void *linux_side, CGameID nGameID, const char *pchName, int32 nData)
{
return ((ISteamUserStats*)linux_side)->SetStat((CGameID)nGameID, (const char *)pchName, (int32)nData);
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2(void *linux_side, CGameID nGameID, const char * pchName, float fData)
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2(void *linux_side, CGameID nGameID, const char *pchName, float fData)
{
return ((ISteamUserStats*)linux_side)->SetStat((CGameID)nGameID, (const char *)pchName, (float)fData);
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat(void *linux_side, CGameID nGameID, const char * pchName, float flCountThisSession, double dSessionLength)
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat(void *linux_side, CGameID nGameID, const char *pchName, float flCountThisSession, double dSessionLength)
{
return ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((CGameID)nGameID, (const char *)pchName, (float)flCountThisSession, (double)dSessionLength);
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement(void *linux_side, CGameID nGameID, const char * pchName, bool * pbAchieved)
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement(void *linux_side, CGameID nGameID, const char *pchName, bool *pbAchieved)
{
return ((ISteamUserStats*)linux_side)->GetAchievement((CGameID)nGameID, (const char *)pchName, (bool *)pbAchieved);
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement(void *linux_side, CGameID nGameID, const char * pchName)
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement(void *linux_side, CGameID nGameID, const char *pchName)
{
return ((ISteamUserStats*)linux_side)->SetAchievement((CGameID)nGameID, (const char *)pchName);
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement(void *linux_side, CGameID nGameID, const char * pchName)
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement(void *linux_side, CGameID nGameID, const char *pchName)
{
return ((ISteamUserStats*)linux_side)->ClearAchievement((CGameID)nGameID, (const char *)pchName);
}
@ -86,17 +86,17 @@ bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats(void *lin
return ((ISteamUserStats*)linux_side)->StoreStats((CGameID)nGameID);
}
int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon(void *linux_side, CGameID nGameID, const char * pchName)
int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon(void *linux_side, CGameID nGameID, const char *pchName)
{
return ((ISteamUserStats*)linux_side)->GetAchievementIcon((CGameID)nGameID, (const char *)pchName);
}
const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute(void *linux_side, CGameID nGameID, const char * pchName, const char * pchKey)
const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute(void *linux_side, CGameID nGameID, const char *pchName, const char *pchKey)
{
return ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((CGameID)nGameID, (const char *)pchName, (const char *)pchKey);
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress(void *linux_side, CGameID nGameID, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress)
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress(void *linux_side, CGameID nGameID, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress)
{
return ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((CGameID)nGameID, (const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress);
}