mu3-mods/DisableEncryption/MU3/patch_NetConfig.cs

29 lines
477 B
C#
Raw Normal View History

using MonoMod;
namespace MU3;
[MonoModPatch("global::MU3.NetConfig")]
public static class patch_NetConfig {
private static int encryptVersion_;
private static bool useTLS_;
public static int EncryptVersion {
get {
return 0;
}
set {
encryptVersion_ = 0;
}
}
public static bool UseTLS {
get {
return false;
}
set {
useTLS_ = false;
}
}
}