2019-02-25 16:34:21 +01:00
|
|
|
#include "steam_defs.h"
|
2019-08-16 16:00:45 +02:00
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2023-05-02 10:43:23 +02:00
|
|
|
#define __cdecl
|
2019-05-13 18:46:07 +02:00
|
|
|
#include "steamworks_sdk_143y/steam_api.h"
|
|
|
|
#include "steamworks_sdk_143y/isteamnetworkingsocketsserialized.h"
|
2019-08-16 16:00:45 +02:00
|
|
|
#pragma pop_macro("__cdecl")
|
2019-02-25 16:34:21 +01:00
|
|
|
#include "steamclient_private.h"
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2019-05-13 18:46:07 +02:00
|
|
|
#define SDKVER_143y
|
2019-02-26 16:05:29 +01:00
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.h"
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous_params *params )
|
2019-02-25 16:34:21 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
((ISteamNetworkingSocketsSerialized*)params->linux_side)->SendP2PRendezvous( (CSteamID)params->steamIDRemote, (uint32)params->unConnectionIDSrc, (const void *)params->pMsgRendezvous, (uint32)params->cbRendezvous );
|
2019-02-25 16:34:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure_params *params )
|
2019-02-25 16:34:21 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
((ISteamNetworkingSocketsSerialized*)params->linux_side)->SendP2PConnectionFailure( (CSteamID)params->steamIDRemote, (uint32)params->unConnectionIDDest, (uint32)params->nReason, (const char *)params->pszReason );
|
2019-02-25 16:34:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync_params *params )
|
2019-02-25 16:34:21 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
params->_ret = ((ISteamNetworkingSocketsSerialized*)params->linux_side)->GetCertAsync( );
|
2019-02-25 16:34:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON_params *params )
|
2019-02-25 16:34:21 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
params->_ret = ((ISteamNetworkingSocketsSerialized*)params->linux_side)->GetNetworkConfigJSON( (void *)params->buf, (uint32)params->cbBuf, (const char *)params->pszLauncherPartner );
|
2019-02-25 16:34:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket_params *params )
|
2019-02-25 16:34:21 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
((ISteamNetworkingSocketsSerialized*)params->linux_side)->CacheRelayTicket( (const void *)params->pTicket, (uint32)params->cbTicket );
|
2019-02-25 16:34:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount_params *params )
|
2019-02-25 16:34:21 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
params->_ret = ((ISteamNetworkingSocketsSerialized*)params->linux_side)->GetCachedRelayTicketCount( );
|
2019-02-25 16:34:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket_params *params )
|
2019-02-25 16:34:21 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
params->_ret = ((ISteamNetworkingSocketsSerialized*)params->linux_side)->GetCachedRelayTicket( (uint32)params->idxTicket, (void *)params->buf, (uint32)params->cbBuf );
|
2019-02-25 16:34:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-27 14:34:23 +02:00
|
|
|
void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg( struct cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg_params *params )
|
2019-02-25 16:34:21 +01:00
|
|
|
{
|
2023-09-27 14:34:23 +02:00
|
|
|
((ISteamNetworkingSocketsSerialized*)params->linux_side)->PostConnectionStateMsg( (const void *)params->pMsg, (uint32)params->cbMsg );
|
2019-02-25 16:34:21 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|