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

lsteamclient: Call struct converters

This commit is contained in:
Andrew Eikum
2018-10-29 11:21:49 -05:00
parent ab30d847d9
commit c7d6c1f18b
50 changed files with 630 additions and 105 deletions

View File

@@ -52,7 +52,11 @@ int cppISteamFriends_SteamFriends006_GetFriendAvatar(void *linux_side, CSteamID
bool cppISteamFriends_SteamFriends006_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo)
{
return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo);
FriendGameInfo_t lin_pFriendGameInfo;
win_to_lin_struct_FriendGameInfo_t_110(pFriendGameInfo, &lin_pFriendGameInfo);
bool retval = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, &lin_pFriendGameInfo);
lin_to_win_struct_FriendGameInfo_t_110(&lin_pFriendGameInfo, pFriendGameInfo);
return retval;
}
const char * cppISteamFriends_SteamFriends006_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName)