Some mods may be broken due to the recent Alloyed Collective update.
Decompiled source of LocalClient v0.0.1
plugins/LocalClient/LocalClient.dll
Decompiled a month agousing System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using BepInEx; using BepInEx.Logging; using HarmonyLib; using Microsoft.CodeAnalysis; using RoR2; using RoR2.ConVar; using RoR2.UI; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] [assembly: AssemblyCompany("LocalClient")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyFileVersion("0.0.1.0")] [assembly: AssemblyInformationalVersion("0.0.1+b37ab1f643fb12632eb76de5d69b6b7fb06c495d")] [assembly: AssemblyProduct("LocalClient")] [assembly: AssemblyTitle("LocalClient")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("0.0.1.0")] [module: UnverifiableCode] [module: RefSafetyRules(11)] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] [AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)] internal sealed class RefSafetyRulesAttribute : Attribute { public readonly int Version; public RefSafetyRulesAttribute(int P_0) { Version = P_0; } } } namespace LocalClient { [HarmonyPatch] [BepInPlugin("itsschwer.localclient", "localclient", "0.0.1")] public sealed class Plugin : BaseUnityPlugin { public const string GUID = "itsschwer.localclient"; public const string Author = "itsschwer"; public const string Name = "localclient"; public const string Version = "0.0.1"; internal static ManualLogSource Logger { get; private set; } private void Awake() { //IL_0030: Unknown result type (might be due to invalid IL or missing references) Logger.Sources.Remove((ILogSource)(object)((BaseUnityPlugin)this).Logger); Logger = Logger.CreateLogSource("itsschwer.localclient"); new Harmony(((BaseUnityPlugin)this).Info.Metadata.GUID).PatchAll(); ((BaseConVar)ConsoleWindow.cvConsoleEnabled).defaultValue = "1"; ConsoleWindow.cvConsoleEnabled.SetBool(true); Logger.LogMessage((object)"~awake."); } [HarmonyPrefix] [HarmonyPatch(typeof(SaveSystem), "Save")] private static bool SaveSystem_Save(ref bool __result) { __result = true; return false; } } }