mirror of
https://github.com/ValveSoftware/Proton
synced 2025-08-31 14:45:23 +00:00
lsteamclient: Use declspec to generate C++ method signature.
CW-Bug-Id: #22729
This commit is contained in:
committed by
Arkadiusz Hiler
parent
992384b88f
commit
122e0e362c
@@ -16,7 +16,7 @@ const char * cppISteamFriends_SteamFriends004_GetPersonaName(void *linux_side)
|
||||
return ((ISteamFriends*)linux_side)->GetPersonaName();
|
||||
}
|
||||
|
||||
void cppISteamFriends_SteamFriends004_SetPersonaName(void *linux_side, const char * pchPersonaName)
|
||||
void cppISteamFriends_SteamFriends004_SetPersonaName(void *linux_side, const char *pchPersonaName)
|
||||
{
|
||||
((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ int cppISteamFriends_SteamFriends004_GetFriendAvatar(void *linux_side, CSteamID
|
||||
return ((ISteamFriends*)linux_side)->GetFriendAvatar((CSteamID)steamIDFriend, (int)eAvatarSize);
|
||||
}
|
||||
|
||||
bool cppISteamFriends_SteamFriends004_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, uint64 * pulGameID, uint32 * punGameIP, uint16 * pusGamePort, uint16 * pusQueryPort)
|
||||
bool cppISteamFriends_SteamFriends004_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, uint64 *pulGameID, uint32 *punGameIP, uint16 *pusGamePort, uint16 *pusQueryPort)
|
||||
{
|
||||
return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (uint64 *)pulGameID, (uint32 *)punGameIP, (uint16 *)pusGamePort, (uint16 *)pusQueryPort);
|
||||
}
|
||||
@@ -106,7 +106,7 @@ void cppISteamFriends_SteamFriends004_SetInGameVoiceSpeaking(void *linux_side, C
|
||||
((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking);
|
||||
}
|
||||
|
||||
void cppISteamFriends_SteamFriends004_ActivateGameOverlay(void *linux_side, const char * pchDialog)
|
||||
void cppISteamFriends_SteamFriends004_ActivateGameOverlay(void *linux_side, const char *pchDialog)
|
||||
{
|
||||
((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog);
|
||||
}
|
||||
|
Reference in New Issue
Block a user