Decompiled source of HorribleLCmod v1.0.1

LCtestmod.dll

Decompiled a year ago
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
using BepInEx.Logging;
using GameNetcodeStuff;
using HarmonyLib;
using LCtestmod.Patches;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: AssemblyTitle("LCtestmod")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("LCtestmod")]
[assembly: AssemblyCopyright("Copyright ©  2024")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("b0095349-abb1-44b4-ac1c-48a89352af29")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace LCtestmod
{
	[BepInPlugin("amazingmodfr.piss", "malignant corporation", "1.0.0.0")]
	public class TestModBase : BaseUnityPlugin
	{
		private const string modGUID = "amazingmodfr.piss";

		private const string modName = "malignant corporation";

		private const string modVersion = "1.0.0.0";

		private readonly Harmony harmony = new Harmony("amazingmodfr.piss");

		private static TestModBase Instance;

		internal ManualLogSource mls;

		private void Awake()
		{
			if ((Object)(object)Instance == (Object)null)
			{
				Instance = this;
			}
			mls = Logger.CreateLogSource("amazingmodfr.piss");
			mls.LogInfo((object)"HELL IS UPON US!");
			harmony.PatchAll(typeof(TestModBase));
			harmony.PatchAll(typeof(PlayerControllerBPatch));
		}
	}
}
namespace LCtestmod.Patches
{
	[HarmonyPatch(typeof(CrawlerAI))]
	internal class CrawlerAIPatch
	{
		[HarmonyPatch("Update")]
		[HarmonyPostfix]
		private static void fixstuff()
		{
		}
	}
	[HarmonyPatch(typeof(PlayerControllerB))]
	internal class PlayerControllerBPatch
	{
		[HarmonyPatch("Update")]
		[HarmonyPostfix]
		private static void infinitesprintpatch(ref float ___sprintMeter, ref float ___healthRegenerateTimer)
		{
			___sprintMeter = 1f;
			___healthRegenerateTimer = 1f;
		}
	}
}