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:
@@ -47,7 +47,11 @@ const char * cppISteamFriends_SteamFriends015_GetFriendPersonaName(void *linux_s
|
||||
|
||||
bool cppISteamFriends_SteamFriends015_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_142(pFriendGameInfo, &lin_pFriendGameInfo);
|
||||
bool retval = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, &lin_pFriendGameInfo);
|
||||
lin_to_win_struct_FriendGameInfo_t_142(&lin_pFriendGameInfo, pFriendGameInfo);
|
||||
return retval;
|
||||
}
|
||||
|
||||
const char * cppISteamFriends_SteamFriends015_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName)
|
||||
|
Reference in New Issue
Block a user