mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-26 06:35:49 +03:00
Added SteamNetworkingUtils.AllowWithoutAuth
This commit is contained in:
parent
f887d8a9ba
commit
f739f9b588
@ -188,6 +188,21 @@ public static int SendBufferSize
|
||||
set => SetConfigInt( NetConfig.SendBufferSize, value );
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Don't automatically fail IP connections that don't have
|
||||
/// strong auth. On clients, this means we will attempt the connection even if
|
||||
/// we don't know our identity or can't get a cert. On the server, it means that
|
||||
/// we won't automatically reject a connection due to a failure to authenticate.
|
||||
/// (You can examine the incoming connection and decide whether to accept it.)
|
||||
///
|
||||
/// This is a dev configuration value, and you should not let users modify it in
|
||||
/// production.
|
||||
/// </summary>
|
||||
public static int AllowWithoutAuth
|
||||
{
|
||||
get => GetConfigInt( NetConfig.IP_AllowWithoutAuth );
|
||||
set => SetConfigInt( NetConfig.IP_AllowWithoutAuth, value );
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get Debug Information via OnDebugOutput event
|
||||
|
Loading…
Reference in New Issue
Block a user