Decompiled source of jumpalot v1.0.0
BepInEx/plugins/jumphigher/jumpmod.dll
Decompiled 10 months agousing 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 UnityEngine; using jumpmod.patches; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("jumpmod")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("jumpmod")] [assembly: AssemblyCopyright("Copyright © 2024")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("eb679c7d-f27d-49b4-bcdb-9baff653387f")] [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 jumpmod { [BepInPlugin("poseidon.jumpmod", "Jump Mod", "1.0.0")] public class JumpModBase : BaseUnityPlugin { private const string modGUID = "poseidon.jumpmod"; private const string modName = "Jump Mod"; private const string modVersion = "1.0.0"; private readonly Harmony harmony = new Harmony("poseidon.jumpmod"); private static JumpModBase Instance; internal ManualLogSource mls; private void Awake() { if ((Object)(object)Instance == (Object)null) { Instance = this; } mls = Logger.CreateLogSource("poseidon.jumpmod"); mls.LogInfo((object)"ITS ALIVEEEEE"); harmony.PatchAll(typeof(JumpModBase)); harmony.PatchAll(typeof(jumpchange)); } } } namespace jumpmod.patches { [HarmonyPatch(typeof(PlayerControllerB))] internal class jumpchange { [HarmonyPatch("Update")] [HarmonyPostfix] private static void JumpFunPatch(ref float ___jumpForce) { ___jumpForce = 15f; } } }
jumpmod.dll
Decompiled 10 months agousing 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 UnityEngine; using jumpmod.patches; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("jumpmod")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("jumpmod")] [assembly: AssemblyCopyright("Copyright © 2024")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("eb679c7d-f27d-49b4-bcdb-9baff653387f")] [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 jumpmod { [BepInPlugin("poseidon.jumpmod", "Jump Mod", "1.0.0")] public class JumpModBase : BaseUnityPlugin { private const string modGUID = "poseidon.jumpmod"; private const string modName = "Jump Mod"; private const string modVersion = "1.0.0"; private readonly Harmony harmony = new Harmony("poseidon.jumpmod"); private static JumpModBase Instance; internal ManualLogSource mls; private void Awake() { if ((Object)(object)Instance == (Object)null) { Instance = this; } mls = Logger.CreateLogSource("poseidon.jumpmod"); mls.LogInfo((object)"ITS ALIVEEEEE"); harmony.PatchAll(typeof(JumpModBase)); harmony.PatchAll(typeof(jumpchange)); } } } namespace jumpmod.patches { [HarmonyPatch(typeof(PlayerControllerB))] internal class jumpchange { [HarmonyPatch("Update")] [HarmonyPostfix] private static void JumpFunPatch(ref float ___jumpForce) { ___jumpForce = 15f; } } }