Added SteamNetworkingUtils.Timeout

This commit is contained in:
Garry Newman 2020-02-26 12:41:29 +00:00
parent 122c2b0a57
commit a8f1ac3799

View File

@ -168,6 +168,14 @@ public static int ConnectionTimeout
set => SetConfigInt( NetConfig.TimeoutInitial, value ); set => SetConfigInt( NetConfig.TimeoutInitial, value );
} }
/// <summary>
/// Timeout value (in ms) to use after connection is established
/// </summary>
public static int Timeout
{
get => GetConfigInt( NetConfig.TimeoutConnected );
set => SetConfigInt( NetConfig.TimeoutConnected, value );
}
/// <summary> /// <summary>