mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-06 06:28:00 +01:00
lsteamclient: support ISteamNetworkingMessages
This commit is contained in:
parent
f22095c745
commit
30c21636c5
9 changed files with 165 additions and 4 deletions
|
|
@ -198,4 +198,14 @@ void cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages(
|
|||
}
|
||||
}
|
||||
|
||||
int cppISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel(
|
||||
void *linux_side, int nLocalChannel,
|
||||
winSteamNetworkingMessage_t_150 ** ppOutMessages, int nMaxMessages)
|
||||
{
|
||||
SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages];
|
||||
int retval = ((ISteamNetworkingMessages*)linux_side)->ReceiveMessagesOnChannel(nLocalChannel, lin_ppOutMessages, nMaxMessages);
|
||||
lin_to_win_struct_SteamNetworkingMessage_t_150(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages);
|
||||
return retval;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue