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 InvincibleCruiser v1.1.0
InvincibleCruiser.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 InvincibleCruiser.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("InvincibleCruiser")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("InvincibleCruiser")] [assembly: AssemblyCopyright("Copyright © 2024")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("40ab7d95-2ced-4484-8934-5b4813917281")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] namespace InvincibleCruiser { [BepInPlugin("Parronna.InvincibleCruiser", "Invincible Cruiser", "1.0.0")] public class ModBase : BaseUnityPlugin { private const string modGUID = "Parronna.InvincibleCruiser"; private const string modName = "Invincible Cruiser"; private const string modVersion = "1.0.0"; private readonly Harmony harmony = new Harmony("Parronna.InvincibleCruiser"); private static ModBase Instance; internal ManualLogSource mls; private void Awake() { if ((Object)(object)Instance == (Object)null) { Instance = this; } mls = Logger.CreateLogSource("Parronna.InvincibleCruiser"); mls.LogInfo((object)"Invincible Cruiser mod has awaken"); harmony.PatchAll(typeof(ModBase)); harmony.PatchAll(typeof(VehicleControlPatch)); } } } namespace InvincibleCruiser.Patches { [HarmonyPatch(typeof(VehicleController))] internal class VehicleControlPatch { [HarmonyPatch("Update")] [HarmonyPostfix] private static void JumpHigherPatch(ref int ___carHP, ref bool ___carDestroyed, ref float ___carMaxSpeed, ref float ___carAcceleration) { ___carHP = 1000; ___carDestroyed = false; ___carMaxSpeed = 50f; ___carAcceleration = 20f; } } }