2
0
mirror of https://github.com/ValveSoftware/Proton synced 2025-09-05 09:15:11 +00:00

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

@@ -61,7 +61,7 @@ void cppISteamUser_SteamUser005_AcknowledgeVACBanning(void *linux_side, int nApp
((ISteamUser*)linux_side)->AcknowledgeVACBanning((int)nAppID);
}
void cppISteamUser_SteamUser005_SetSteam2Ticket(void *linux_side, uint8 * pubTicket, int cubTicket)
void cppISteamUser_SteamUser005_SetSteam2Ticket(void *linux_side, uint8 *pubTicket, int cubTicket)
{
((ISteamUser*)linux_side)->SetSteam2Ticket((uint8 *)pubTicket, (int)cubTicket);
}
@@ -71,32 +71,32 @@ void cppISteamUser_SteamUser005_AddServerNetAddress(void *linux_side, uint32 unI
((ISteamUser*)linux_side)->AddServerNetAddress((uint32)unIP, (uint16)unPort);
}
bool cppISteamUser_SteamUser005_SetEmail(void *linux_side, const char * pchEmail)
bool cppISteamUser_SteamUser005_SetEmail(void *linux_side, const char *pchEmail)
{
return ((ISteamUser*)linux_side)->SetEmail((const char *)pchEmail);
}
bool cppISteamUser_SteamUser005_SetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, const char * pchValue)
bool cppISteamUser_SteamUser005_SetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, const char *pchValue)
{
return ((ISteamUser*)linux_side)->SetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (const char *)pchValue);
}
bool cppISteamUser_SteamUser005_GetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, char * pchValue, int cbValue)
bool cppISteamUser_SteamUser005_GetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, char *pchValue, int cbValue)
{
return ((ISteamUser*)linux_side)->GetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (char *)pchValue, (int)cbValue);
}
bool cppISteamUser_SteamUser005_SetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, int iValue)
bool cppISteamUser_SteamUser005_SetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, int iValue)
{
return ((ISteamUser*)linux_side)->SetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int)iValue);
}
bool cppISteamUser_SteamUser005_GetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, int * piValue)
bool cppISteamUser_SteamUser005_GetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char *pchKey, int *piValue)
{
return ((ISteamUser*)linux_side)->GetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int *)piValue);
}
int cppISteamUser_SteamUser005_InitiateGameConnection(void *linux_side, void * pBlob, int cbMaxBlob, CSteamID steamID, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure)
int cppISteamUser_SteamUser005_InitiateGameConnection(void *linux_side, void *pBlob, int cbMaxBlob, CSteamID steamID, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure)
{
return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pBlob, (int)cbMaxBlob, (CSteamID)steamID, (CGameID)gameID, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure);
}
@@ -121,7 +121,7 @@ void cppISteamUser_SteamUser005_RequestLegacyCDKey(void *linux_side, uint32 nApp
((ISteamUser*)linux_side)->RequestLegacyCDKey((uint32)nAppID);
}
bool cppISteamUser_SteamUser005_SendGuestPassByEmail(void *linux_side, const char * pchEmailAccount, GID_t gidGuestPassID, bool bResending)
bool cppISteamUser_SteamUser005_SendGuestPassByEmail(void *linux_side, const char *pchEmailAccount, GID_t gidGuestPassID, bool bResending)
{
return ((ISteamUser*)linux_side)->SendGuestPassByEmail((const char *)pchEmailAccount, (GID_t)gidGuestPassID, (bool)bResending);
}
@@ -131,12 +131,12 @@ bool cppISteamUser_SteamUser005_SendGuestPassByAccountID(void *linux_side, uint3
return ((ISteamUser*)linux_side)->SendGuestPassByAccountID((uint32)uAccountID, (GID_t)gidGuestPassID, (bool)bResending);
}
bool cppISteamUser_SteamUser005_AckGuestPass(void *linux_side, const char * pchGuestPassCode)
bool cppISteamUser_SteamUser005_AckGuestPass(void *linux_side, const char *pchGuestPassCode)
{
return ((ISteamUser*)linux_side)->AckGuestPass((const char *)pchGuestPassCode);
}
bool cppISteamUser_SteamUser005_RedeemGuestPass(void *linux_side, const char * pchGuestPassCode)
bool cppISteamUser_SteamUser005_RedeemGuestPass(void *linux_side, const char *pchGuestPassCode)
{
return ((ISteamUser*)linux_side)->RedeemGuestPass((const char *)pchGuestPassCode);
}
@@ -156,47 +156,47 @@ RTime32 cppISteamUser_SteamUser005_GetGuestPassLastUpdateTime(void *linux_side)
return ((ISteamUser*)linux_side)->GetGuestPassLastUpdateTime();
}
bool cppISteamUser_SteamUser005_GetGuestPassToGiveInfo(void *linux_side, uint32 nPassIndex, GID_t * pgidGuestPassID, PackageId_t * pnPackageID, RTime32 * pRTime32Created, RTime32 * pRTime32Expiration, RTime32 * pRTime32Sent, RTime32 * pRTime32Redeemed, char * pchRecipientAddress, int cRecipientAddressSize)
bool cppISteamUser_SteamUser005_GetGuestPassToGiveInfo(void *linux_side, uint32 nPassIndex, GID_t *pgidGuestPassID, PackageId_t *pnPackageID, RTime32 *pRTime32Created, RTime32 *pRTime32Expiration, RTime32 *pRTime32Sent, RTime32 *pRTime32Redeemed, char *pchRecipientAddress, int cRecipientAddressSize)
{
return ((ISteamUser*)linux_side)->GetGuestPassToGiveInfo((uint32)nPassIndex, (GID_t *)pgidGuestPassID, (PackageId_t *)pnPackageID, (RTime32 *)pRTime32Created, (RTime32 *)pRTime32Expiration, (RTime32 *)pRTime32Sent, (RTime32 *)pRTime32Redeemed, (char *)pchRecipientAddress, (int)cRecipientAddressSize);
}
bool cppISteamUser_SteamUser005_GetGuestPassToRedeemInfo(void *linux_side, uint32 nPassIndex, GID_t * pgidGuestPassID, PackageId_t * pnPackageID, RTime32 * pRTime32Created, RTime32 * pRTime32Expiration, RTime32 * pRTime32Sent, RTime32 * pRTime32Redeemed)
bool cppISteamUser_SteamUser005_GetGuestPassToRedeemInfo(void *linux_side, uint32 nPassIndex, GID_t *pgidGuestPassID, PackageId_t *pnPackageID, RTime32 *pRTime32Created, RTime32 *pRTime32Expiration, RTime32 *pRTime32Sent, RTime32 *pRTime32Redeemed)
{
return ((ISteamUser*)linux_side)->GetGuestPassToRedeemInfo((uint32)nPassIndex, (GID_t *)pgidGuestPassID, (PackageId_t *)pnPackageID, (RTime32 *)pRTime32Created, (RTime32 *)pRTime32Expiration, (RTime32 *)pRTime32Sent, (RTime32 *)pRTime32Redeemed);
}
bool cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress(void *linux_side, uint32 nPassIndex, char * pchSenderAddress, int cSenderAddressSize)
bool cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress(void *linux_side, uint32 nPassIndex, char *pchSenderAddress, int cSenderAddressSize)
{
return ((ISteamUser*)linux_side)->GetGuestPassToRedeemSenderAddress((uint32)nPassIndex, (char *)pchSenderAddress, (int)cSenderAddressSize);
}
bool cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderName(void *linux_side, uint32 nPassIndex, char * pchSenderName, int cSenderNameSize)
bool cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderName(void *linux_side, uint32 nPassIndex, char *pchSenderName, int cSenderNameSize)
{
return ((ISteamUser*)linux_side)->GetGuestPassToRedeemSenderName((uint32)nPassIndex, (char *)pchSenderName, (int)cSenderNameSize);
}
void cppISteamUser_SteamUser005_AcknowledgeMessageByGID(void *linux_side, const char * pchMessageGID)
void cppISteamUser_SteamUser005_AcknowledgeMessageByGID(void *linux_side, const char *pchMessageGID)
{
((ISteamUser*)linux_side)->AcknowledgeMessageByGID((const char *)pchMessageGID);
}
bool cppISteamUser_SteamUser005_SetLanguage(void *linux_side, const char * pchLanguage)
bool cppISteamUser_SteamUser005_SetLanguage(void *linux_side, const char *pchLanguage)
{
return ((ISteamUser*)linux_side)->SetLanguage((const char *)pchLanguage);
}
void cppISteamUser_SteamUser005_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo)
void cppISteamUser_SteamUser005_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo)
{
((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo);
}
void cppISteamUser_SteamUser005_SetAccountName(void *linux_side, const char * pchAccountName)
void cppISteamUser_SteamUser005_SetAccountName(void *linux_side, const char *pchAccountName)
{
((ISteamUser*)linux_side)->SetAccountName((const char *)pchAccountName);
}
void cppISteamUser_SteamUser005_SetPassword(void *linux_side, const char * pchPassword)
void cppISteamUser_SteamUser005_SetPassword(void *linux_side, const char *pchPassword)
{
((ISteamUser*)linux_side)->SetPassword((const char *)pchPassword);
}