2021-12-20 16:48:44 +01:00
|
|
|
#include "steam_defs.h"
|
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2023-05-02 10:43:23 +02:00
|
|
|
#define __cdecl
|
2023-09-18 15:58:31 +02:00
|
|
|
#include "steamworks_sdk_158/steam_api.h"
|
|
|
|
#include "steamworks_sdk_158/steamnetworkingtypes.h"
|
|
|
|
#include "steamworks_sdk_158/steamnetworkingfakeip.h"
|
2021-12-20 16:48:44 +01:00
|
|
|
#pragma pop_macro("__cdecl")
|
|
|
|
#include "steamclient_private.h"
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2023-09-18 15:58:31 +02:00
|
|
|
#define SDKVER_158
|
2021-12-20 16:48:44 +01:00
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.h"
|
2023-09-23 16:11:42 +02:00
|
|
|
EResult cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP(void *linux_side, const SteamNetworkingIPAddr *remoteAddress, const void *pData, uint32 cbData, int nSendFlags)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
2023-09-23 21:44:20 +02:00
|
|
|
EResult _ret;
|
|
|
|
_ret = ((ISteamNetworkingFakeUDPPort*)linux_side)->SendMessageToFakeIP(*remoteAddress, (const void *)pData, (uint32)cbData, (int)nSendFlags);
|
|
|
|
return (_ret);
|
2021-12-20 16:48:44 +01:00
|
|
|
}
|
|
|
|
|
2023-09-23 16:11:42 +02:00
|
|
|
void cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup(void *linux_side, const SteamNetworkingIPAddr *remoteAddress)
|
2021-12-20 16:48:44 +01:00
|
|
|
{
|
|
|
|
((ISteamNetworkingFakeUDPPort*)linux_side)->ScheduleCleanup(*remoteAddress);
|
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|