Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Decompiled source of ShutThatDoor v1.0.0
BepInEx/plugins/InfiniteShutDoor.dll
Decompiled 2 years agousing System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using BepInEx.Logging; using HarmonyLib; using InfiniteShutDoor.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("InfiniteShutDoor")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("InfiniteShutDoor")] [assembly: AssemblyCopyright("Copyright © 2023")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("fbcea44b-d2e8-4743-b61a-082bb85da840")] [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 InfiniteShutDoor { [BepInPlugin("Yehaw.InfiniteShutDoor", "InfiniteShutDoor", "1.0.0.0")] public class InfiniteShutDoorBase : BaseUnityPlugin { private const string modGUID = "Yehaw.InfiniteShutDoor"; private const string modName = "InfiniteShutDoor"; private const string modVersion = "1.0.0.0"; private readonly Harmony harmony = new Harmony("Yehaw.InfiniteShutDoor"); private static InfiniteShutDoorBase Instance; internal ManualLogSource mls; private void Awake() { if ((Object)(object)Instance == (Object)null) { Instance = this; } mls = Logger.CreateLogSource("Yehaw.InfiniteShutDoor"); mls.LogInfo((object)"Door is never gonna open hehe"); harmony.PatchAll(typeof(InfiniteShutDoorBase)); harmony.PatchAll(typeof(HangarShipDoorPatch)); } } } namespace InfiniteShutDoor.Patches { [HarmonyPatch(typeof(HangarShipDoor))] internal class HangarShipDoorPatch { [HarmonyPatch("Update")] [HarmonyPostfix] private static void infiniteShutDoorPatch(ref float ___doorPower) { ___doorPower = 1f; } } }