29 lines
477 B
C#
29 lines
477 B
C#
|
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;
|
||
|
}
|
||
|
}
|
||
|
}
|