Decompiled source of SO DebugDev v1.0.0

SODebugDev.dll

Decompiled 2 months ago
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
using HarmonyLib;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: AssemblyTitle("DebugDev")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("DebugDev")]
[assembly: AssemblyCopyright("Copyright ©  2025")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("7c6ac81f-427c-446e-916f-5876791a49a6")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace DebugDev;

[BepInPlugin("SoloOne.DebugDev", "SO-DebugDev", "1.0.0")]
public class DebugDev : BaseUnityPlugin
{
	private const string modguid = "SoloOne.DebugDev";

	private const string modname = "SO-DebugDev";

	private const string modversion = "1.0.0";

	private readonly Harmony harmony = new Harmony("SoloOne.DebugDev");

	private static DebugDev Instance;

	private void Awake()
	{
		harmony.PatchAll();
		((BaseUnityPlugin)this).Logger.LogInfo((object)"SO-DebugDev v1.0.0 loaded!");
	}
}
[HarmonyPatch(typeof(SemiFunc), "DebugDev")]
public static class SemiFuncPatch
{
	[HarmonyPrefix]
	public static bool Prefix(ref bool __result)
	{
		__result = true;
		return false;
	}
}