forked from akanyan/mu3-mods
feat!: rename and reorganize
This commit is contained in:
27
Fixes/DisableEncryption/MU3/patch_NetConfig.cs
Normal file
27
Fixes/DisableEncryption/MU3/patch_NetConfig.cs
Normal file
@ -0,0 +1,27 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user