mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-27 07:05:50 +03:00
Added SteamNetworkingUtils.ConnectionTimeout
This commit is contained in:
parent
a60281dc41
commit
122c2b0a57
@ -159,6 +159,15 @@ public static float FakeRecvPacketLag
|
|||||||
set => SetConfigFloat( NetConfig.FakePacketLag_Recv, value );
|
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>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user