mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-27 07:05:50 +03:00
Added SteamNetworkingUtils.Timeout
This commit is contained in:
parent
122c2b0a57
commit
a8f1ac3799
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user