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 UniversalShipLaunch v1.0.0
UniversalShipLaunch.dll
Decompiled a year agousing 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.IgnoreSymbolStoreSequencePoints)] [assembly: AssemblyTitle("UniversalShipLaunch")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("UniversalShipLaunch")] [assembly: AssemblyCopyright("Copyright © 2025")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("c0967db6-cff2-4861-8d4e-4ad6b5e1a179")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] namespace UniversalShipLaunch; [BepInPlugin("com.mixbom.universalshiplaunch", "UniversalShipLaunch", "1.0.0")] public class UniversalShipLaunchPlugin : BaseUnityPlugin { private void Awake() { //IL_0005: Unknown result type (might be due to invalid IL or missing references) new Harmony("com.mixbom.universalshiplaunch").PatchAll(); } } [HarmonyPatch(typeof(StartMatchLever))] [HarmonyPatch(/*Could not decode attribute arguments.*/)] public class StartMatchLeverPatch { private static void Postfix(StartMatchLever __instance) { __instance.triggerScript.hoverTip = "[ Click to launch ship ]"; __instance.triggerScript.interactable = true; } } [HarmonyPatch(typeof(StartMatchLever))] [HarmonyPatch(/*Could not decode attribute arguments.*/)] public class PullLeverPatch { private static void Prefix(StartMatchLever __instance) { if (__instance.leverHasBeenPulled) { __instance.StartGame(); } else { __instance.EndGame(); } } }