mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-04-15 05:42:29 +03:00
Added SteamNetworkingUtils.Unencrypted
This commit is contained in:
parent
ea3743bd73
commit
a10a5b40cd
@ -204,6 +204,23 @@ namespace Steamworks
|
|||||||
set => SetConfigInt( NetConfig.IP_AllowWithoutAuth, value );
|
set => SetConfigInt( NetConfig.IP_AllowWithoutAuth, value );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Allow unencrypted (and unauthenticated) communication.
|
||||||
|
/// 0: Not allowed (the default)
|
||||||
|
/// 1: Allowed, but prefer encrypted
|
||||||
|
/// 2: Allowed, and preferred
|
||||||
|
/// 3: Required. (Fail the connection if the peer requires encryption.)
|
||||||
|
///
|
||||||
|
/// This is a dev configuration value, since its purpose is to disable encryption.
|
||||||
|
/// You should not let users modify it in production. (But note that it requires
|
||||||
|
/// the peer to also modify their value in order for encryption to be disabled.)
|
||||||
|
/// </summary>
|
||||||
|
public static int Unencrypted
|
||||||
|
{
|
||||||
|
get => GetConfigInt( NetConfig.Unencrypted );
|
||||||
|
set => SetConfigInt( NetConfig.Unencrypted, value );
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get Debug Information via OnDebugOutput event
|
/// Get Debug Information via OnDebugOutput event
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user