Added SteamNetworkingUtils.ConnectionTimeout

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

View File

@ -159,6 +159,15 @@ public static float FakeRecvPacketLag
set => SetConfigFloat( NetConfig.FakePacketLag_Recv, value );
}
/// <summary>
/// Timeout value (in ms) to use when first connecting
/// </summary>
public static int ConnectionTimeout
{
get => GetConfigInt( NetConfig.TimeoutInitial );
set => SetConfigInt( NetConfig.TimeoutInitial, value );
}
/// <summary>