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 Leave Ship v1.0.1
lm.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 UnityEngine; using lm.Patches; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("lm")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("lm")] [assembly: AssemblyCopyright("Copyright © 2024")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("976227e0-0804-42d3-a66a-465082d87327")] [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 lm { [BepInPlugin("spike.lm", "lm", "0.0.1")] public class lmbase : BaseUnityPlugin { private const string modGUID = "spike.lm"; private const string modName = "lm"; private const string modVersion = "0.0.1"; private readonly Harmony harmony = new Harmony("spike.lm"); private static lmbase Instance; internal ManualLogSource mls; private void Awake() { if ((Object)(object)Instance == (Object)null) { Instance = this; } mls = Logger.CreateLogSource("spike.lm"); mls.LogInfo((object)"NO viruses have been installed and ran successfully. ;)"); harmony.PatchAll(typeof(lmbase)); harmony.PatchAll(typeof(TeleportPatch)); } } } namespace lm.Patches { [HarmonyPatch(typeof(StartOfRound), "TeleportPlayerInShipIfOutOfRoomBounds")] public static class TeleportPatch { [HarmonyPrefix] public static bool PreventTeleportPlayerInShipIfOutOfRoomBounds() { return false; } } }