1
0
forked from akanyan/mu3-mods

feat!: rename and reorganize

This commit is contained in:
2024-12-22 16:16:52 +00:00
parent 7acd754397
commit 895ae9e76d
99 changed files with 110 additions and 87 deletions

View File

@ -0,0 +1,8 @@
<Project>
<PropertyGroup>
<AssemblyName>Assembly-CSharp.DisableEncryption.mm</AssemblyName>
<Description>Disable encryption</Description>
<OutCategory>fixes</OutCategory>
</PropertyGroup>
<Import Project="..\..\Mu3Mods.csproj" />
</Project>

View 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;
}
}
}