mirror of
https://github.com/ValveSoftware/GameNetworkingSockets.git
synced 2026-05-29 16:20:34 +00:00
p2p interface was ifdef'd behind the SDR stuff
This commit is contained in:
@@ -25,7 +25,6 @@ STEAMNETWORKINGSOCKETS_INTERFACE HSteamNetConnection SteamAPI_ISteamNetworkingSo
|
||||
{
|
||||
return self->ConnectByIPAddress( address,nOptions,pOptions );
|
||||
}
|
||||
#ifdef STEAMNETWORKINGSOCKETS_ENABLE_SDR
|
||||
STEAMNETWORKINGSOCKETS_INTERFACE HSteamListenSocket SteamAPI_ISteamNetworkingSockets_CreateListenSocketP2P( ISteamNetworkingSockets* self, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions )
|
||||
{
|
||||
return self->CreateListenSocketP2P( nLocalVirtualPort,nOptions,pOptions );
|
||||
@@ -34,7 +33,6 @@ STEAMNETWORKINGSOCKETS_INTERFACE HSteamNetConnection SteamAPI_ISteamNetworkingSo
|
||||
{
|
||||
return self->ConnectP2P( identityRemote,nRemoteVirtualPort,nOptions,pOptions );
|
||||
}
|
||||
#endif // #ifdef STEAMNETWORKINGSOCKETS_ENABLE_SDR
|
||||
STEAMNETWORKINGSOCKETS_INTERFACE EResult SteamAPI_ISteamNetworkingSockets_AcceptConnection( ISteamNetworkingSockets* self, HSteamNetConnection hConn )
|
||||
{
|
||||
return self->AcceptConnection( hConn );
|
||||
@@ -164,6 +162,7 @@ STEAMNETWORKINGSOCKETS_INTERFACE EResult SteamAPI_ISteamNetworkingSockets_GetGam
|
||||
{
|
||||
return self->GetGameCoordinatorServerLogin( pLoginInfo,pcbSignedBlob,pBlob );
|
||||
}
|
||||
#endif // #ifdef STEAMNETWORKINGSOCKETS_ENABLE_SDR
|
||||
STEAMNETWORKINGSOCKETS_INTERFACE HSteamNetConnection SteamAPI_ISteamNetworkingSockets_ConnectP2PCustomSignaling( ISteamNetworkingSockets* self, ISteamNetworkingConnectionSignaling * pSignaling, const SteamNetworkingIdentity * pPeerIdentity, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions )
|
||||
{
|
||||
return self->ConnectP2PCustomSignaling( pSignaling,pPeerIdentity,nRemoteVirtualPort,nOptions,pOptions );
|
||||
@@ -172,7 +171,7 @@ STEAMNETWORKINGSOCKETS_INTERFACE bool SteamAPI_ISteamNetworkingSockets_ReceivedP
|
||||
{
|
||||
return self->ReceivedP2PCustomSignal( pMsg,cbMsg,pContext );
|
||||
}
|
||||
#endif // #ifdef STEAMNETWORKINGSOCKETS_ENABLE_SDR
|
||||
|
||||
STEAMNETWORKINGSOCKETS_INTERFACE bool SteamAPI_ISteamNetworkingSockets_GetCertificateRequest( ISteamNetworkingSockets* self, int * pcbBlob, void * pBlob, SteamNetworkingErrMsg & errMsg )
|
||||
{
|
||||
return self->GetCertificateRequest( pcbBlob,pBlob,errMsg );
|
||||
|
||||
Reference in New Issue
Block a user