2
0
mirror of https://github.com/ValveSoftware/Proton synced 2025-08-31 06:35:23 +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

@@ -16,7 +16,7 @@ const char * cppISteamFriends_SteamFriends012_GetPersonaName(void *linux_side)
return ((ISteamFriends*)linux_side)->GetPersonaName();
}
SteamAPICall_t cppISteamFriends_SteamFriends012_SetPersonaName(void *linux_side, const char * pchPersonaName)
SteamAPICall_t cppISteamFriends_SteamFriends012_SetPersonaName(void *linux_side, const char *pchPersonaName)
{
return ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName);
}
@@ -51,7 +51,7 @@ const char * cppISteamFriends_SteamFriends012_GetFriendPersonaName(void *linux_s
return ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend);
}
bool cppISteamFriends_SteamFriends012_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo)
bool cppISteamFriends_SteamFriends012_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo)
{
return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo);
}
@@ -86,12 +86,12 @@ const char * cppISteamFriends_SteamFriends012_GetClanTag(void *linux_side, CStea
return ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan);
}
bool cppISteamFriends_SteamFriends012_GetClanActivityCounts(void *linux_side, CSteamID steamIDClan, int * pnOnline, int * pnInGame, int * pnChatting)
bool cppISteamFriends_SteamFriends012_GetClanActivityCounts(void *linux_side, CSteamID steamIDClan, int *pnOnline, int *pnInGame, int *pnChatting)
{
return ((ISteamFriends*)linux_side)->GetClanActivityCounts((CSteamID)steamIDClan, (int *)pnOnline, (int *)pnInGame, (int *)pnChatting);
}
SteamAPICall_t cppISteamFriends_SteamFriends012_DownloadClanActivityCounts(void *linux_side, CSteamID * psteamIDClans, int cClansToRequest)
SteamAPICall_t cppISteamFriends_SteamFriends012_DownloadClanActivityCounts(void *linux_side, CSteamID *psteamIDClans, int cClansToRequest)
{
return ((ISteamFriends*)linux_side)->DownloadClanActivityCounts((CSteamID *)psteamIDClans, (int)cClansToRequest);
}
@@ -116,17 +116,17 @@ void cppISteamFriends_SteamFriends012_SetInGameVoiceSpeaking(void *linux_side, C
((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking);
}
void cppISteamFriends_SteamFriends012_ActivateGameOverlay(void *linux_side, const char * pchDialog)
void cppISteamFriends_SteamFriends012_ActivateGameOverlay(void *linux_side, const char *pchDialog)
{
((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog);
}
void cppISteamFriends_SteamFriends012_ActivateGameOverlayToUser(void *linux_side, const char * pchDialog, CSteamID steamID)
void cppISteamFriends_SteamFriends012_ActivateGameOverlayToUser(void *linux_side, const char *pchDialog, CSteamID steamID)
{
((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID);
}
void cppISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage(void *linux_side, const char * pchURL)
void cppISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage(void *linux_side, const char *pchURL)
{
((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL);
}
@@ -191,7 +191,7 @@ uint32 cppISteamFriends_SteamFriends012_GetUserRestrictions(void *linux_side)
return ((ISteamFriends*)linux_side)->GetUserRestrictions();
}
bool cppISteamFriends_SteamFriends012_SetRichPresence(void *linux_side, const char * pchKey, const char * pchValue)
bool cppISteamFriends_SteamFriends012_SetRichPresence(void *linux_side, const char *pchKey, const char *pchValue)
{
return ((ISteamFriends*)linux_side)->SetRichPresence((const char *)pchKey, (const char *)pchValue);
}
@@ -201,7 +201,7 @@ void cppISteamFriends_SteamFriends012_ClearRichPresence(void *linux_side)
((ISteamFriends*)linux_side)->ClearRichPresence();
}
const char * cppISteamFriends_SteamFriends012_GetFriendRichPresence(void *linux_side, CSteamID steamIDFriend, const char * pchKey)
const char * cppISteamFriends_SteamFriends012_GetFriendRichPresence(void *linux_side, CSteamID steamIDFriend, const char *pchKey)
{
return ((ISteamFriends*)linux_side)->GetFriendRichPresence((CSteamID)steamIDFriend, (const char *)pchKey);
}
@@ -221,7 +221,7 @@ void cppISteamFriends_SteamFriends012_RequestFriendRichPresence(void *linux_side
((ISteamFriends*)linux_side)->RequestFriendRichPresence((CSteamID)steamIDFriend);
}
bool cppISteamFriends_SteamFriends012_InviteUserToGame(void *linux_side, CSteamID steamIDFriend, const char * pchConnectString)
bool cppISteamFriends_SteamFriends012_InviteUserToGame(void *linux_side, CSteamID steamIDFriend, const char *pchConnectString)
{
return ((ISteamFriends*)linux_side)->InviteUserToGame((CSteamID)steamIDFriend, (const char *)pchConnectString);
}
@@ -266,14 +266,14 @@ CSteamID cppISteamFriends_SteamFriends012_GetChatMemberByIndex(void *linux_side,
return ((ISteamFriends*)linux_side)->GetChatMemberByIndex((CSteamID)steamIDClan, (int)iUser);
}
bool cppISteamFriends_SteamFriends012_SendClanChatMessage(void *linux_side, CSteamID steamIDClanChat, const char * pchText)
bool cppISteamFriends_SteamFriends012_SendClanChatMessage(void *linux_side, CSteamID steamIDClanChat, const char *pchText)
{
return ((ISteamFriends*)linux_side)->SendClanChatMessage((CSteamID)steamIDClanChat, (const char *)pchText);
}
int cppISteamFriends_SteamFriends012_GetClanChatMessage(void *linux_side, CSteamID steamIDClanChat, int iMessage, void * prgchText, int cchTextMax, EChatEntryType * _a, CSteamID * _b)
int cppISteamFriends_SteamFriends012_GetClanChatMessage(void *linux_side, CSteamID steamIDClanChat, int iMessage, void *prgchText, int cchTextMax, EChatEntryType *_e, CSteamID *_f)
{
return ((ISteamFriends*)linux_side)->GetClanChatMessage((CSteamID)steamIDClanChat, (int)iMessage, (void *)prgchText, (int)cchTextMax, (EChatEntryType *)_a, (CSteamID *)_b);
return ((ISteamFriends*)linux_side)->GetClanChatMessage((CSteamID)steamIDClanChat, (int)iMessage, (void *)prgchText, (int)cchTextMax, (EChatEntryType *)_e, (CSteamID *)_f);
}
bool cppISteamFriends_SteamFriends012_IsClanChatAdmin(void *linux_side, CSteamID steamIDClanChat, CSteamID steamIDUser)
@@ -301,12 +301,12 @@ bool cppISteamFriends_SteamFriends012_SetListenForFriendsMessages(void *linux_si
return ((ISteamFriends*)linux_side)->SetListenForFriendsMessages((bool)bInterceptEnabled);
}
bool cppISteamFriends_SteamFriends012_ReplyToFriendMessage(void *linux_side, CSteamID steamIDFriend, const char * pchMsgToSend)
bool cppISteamFriends_SteamFriends012_ReplyToFriendMessage(void *linux_side, CSteamID steamIDFriend, const char *pchMsgToSend)
{
return ((ISteamFriends*)linux_side)->ReplyToFriendMessage((CSteamID)steamIDFriend, (const char *)pchMsgToSend);
}
int cppISteamFriends_SteamFriends012_GetFriendMessage(void *linux_side, CSteamID steamIDFriend, int iMessageID, void * pvData, int cubData, EChatEntryType * peChatEntryType)
int cppISteamFriends_SteamFriends012_GetFriendMessage(void *linux_side, CSteamID steamIDFriend, int iMessageID, void *pvData, int cubData, EChatEntryType *peChatEntryType)
{
return ((ISteamFriends*)linux_side)->GetFriendMessage((CSteamID)steamIDFriend, (int)iMessageID, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType);
}