2023-09-30 15:02:30 +03:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2019-02-26 18:05:29 +03:00
|
|
|
#include "cppISteamNetworking_SteamNetworking003.h"
|
2023-09-24 00:44:45 +03:00
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamNetworking_SteamNetworking003_SendP2PPacket( struct cppISteamNetworking_SteamNetworking003_SendP2PPacket_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->SendP2PPacket( params->steamIDRemote, params->pubData, params->cubData, params->eP2PSendType );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamNetworking_SteamNetworking003_IsP2PPacketAvailable( struct cppISteamNetworking_SteamNetworking003_IsP2PPacketAvailable_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->IsP2PPacketAvailable( params->pcubMsgSize );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamNetworking_SteamNetworking003_ReadP2PPacket( struct cppISteamNetworking_SteamNetworking003_ReadP2PPacket_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->ReadP2PPacket( params->pubDest, params->cubDest, params->pcubMsgSize, params->psteamIDRemote );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->AcceptP2PSessionWithUser( params->steamIDRemote );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->CloseP2PSessionWithUser( params->steamIDRemote );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamNetworking_SteamNetworking003_GetP2PSessionState( struct cppISteamNetworking_SteamNetworking003_GetP2PSessionState_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetP2PSessionState( params->steamIDRemote, params->pConnectionState );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamNetworking_SteamNetworking003_CreateListenSocket( struct cppISteamNetworking_SteamNetworking003_CreateListenSocket_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->CreateListenSocket( params->nVirtualP2PPort, params->nIP, params->nPort, params->bAllowUseOfPacketRelay );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket( struct cppISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->CreateP2PConnectionSocket( params->steamIDTarget, params->nVirtualPort, params->nTimeoutSec, params->bAllowUseOfPacketRelay );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamNetworking_SteamNetworking003_CreateConnectionSocket( struct cppISteamNetworking_SteamNetworking003_CreateConnectionSocket_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->CreateConnectionSocket( params->nIP, params->nPort, params->nTimeoutSec );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamNetworking_SteamNetworking003_DestroySocket( struct cppISteamNetworking_SteamNetworking003_DestroySocket_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->DestroySocket( params->hSocket, params->bNotifyRemoteEnd );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamNetworking_SteamNetworking003_DestroyListenSocket( struct cppISteamNetworking_SteamNetworking003_DestroyListenSocket_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->DestroyListenSocket( params->hSocket, params->bNotifyRemoteEnd );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamNetworking_SteamNetworking003_SendDataOnSocket( struct cppISteamNetworking_SteamNetworking003_SendDataOnSocket_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->SendDataOnSocket( params->hSocket, params->pubData, params->cubData, params->bReliable );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket( struct cppISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->IsDataAvailableOnSocket( params->hSocket, params->pcubMsgSize );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamNetworking_SteamNetworking003_RetrieveDataFromSocket( struct cppISteamNetworking_SteamNetworking003_RetrieveDataFromSocket_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->RetrieveDataFromSocket( params->hSocket, params->pubDest, params->cubDest, params->pcubMsgSize );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamNetworking_SteamNetworking003_IsDataAvailable( struct cppISteamNetworking_SteamNetworking003_IsDataAvailable_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->IsDataAvailable( params->hListenSocket, params->pcubMsgSize, params->phSocket );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamNetworking_SteamNetworking003_RetrieveData( struct cppISteamNetworking_SteamNetworking003_RetrieveData_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->RetrieveData( params->hListenSocket, params->pubDest, params->cubDest, params->pcubMsgSize, params->phSocket );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamNetworking_SteamNetworking003_GetSocketInfo( struct cppISteamNetworking_SteamNetworking003_GetSocketInfo_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetSocketInfo( params->hSocket, params->pSteamIDRemote, params->peSocketStatus, params->punIPRemote, params->punPortRemote );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamNetworking_SteamNetworking003_GetListenSocketInfo( struct cppISteamNetworking_SteamNetworking003_GetListenSocketInfo_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetListenSocketInfo( params->hListenSocket, params->pnIP, params->pnPort );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamNetworking_SteamNetworking003_GetSocketConnectionType( struct cppISteamNetworking_SteamNetworking003_GetSocketConnectionType_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetSocketConnectionType( params->hSocket );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamNetworking_SteamNetworking003_GetMaxPacketSize( struct cppISteamNetworking_SteamNetworking003_GetMaxPacketSize_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetMaxPacketSize( params->hSocket );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|