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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user