Update to sdk 1.46

This commit is contained in:
Mr_Goldberg 2019-07-28 09:02:09 -04:00
parent bb9c516775
commit 8723dad025
No known key found for this signature in database
GPG key ID: 8597D87419DEF278
36 changed files with 2197 additions and 129 deletions

View file

@ -18,6 +18,7 @@
#include "base.h"
class Steam_Networking_Utils :
public ISteamNetworkingUtils001,
public ISteamNetworkingUtils
{
class Settings *settings;
@ -69,6 +70,20 @@ bool InitializeRelayAccess()
return true;
}
/// Fetch current status of the relay network.
///
/// SteamRelayNetworkStatus_t is also a callback. It will be triggered on
/// both the user and gameserver interfaces any time the status changes, or
/// ping measurement starts or stops.
///
/// SteamRelayNetworkStatus_t::m_eAvail is returned. If you want
/// more details, you can pass a non-NULL value.
ESteamNetworkingAvailability GetRelayNetworkStatus( SteamRelayNetworkStatus_t *pDetails )
{
PRINT_DEBUG("Steam_Networking_Utils::GetRelayNetworkStatus\n");
return k_ESteamNetworkingAvailability_Current;
}
float GetLocalPingLocation( SteamNetworkPingLocation_t &result )
{
PRINT_DEBUG("Steam_Networking_Utils::GetLocalPingLocation\n");