using 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;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: AssemblyTitle("JumpHigher")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("JumpHigher")]
[assembly: AssemblyCopyright("Copyright © 2024")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("2bed7778-21a6-486a-bea1-e00448e45a45")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace LoadedCompanyBase;
[BepInPlugin("c0mmander.JumpHigher", "Jump Higher", "1.0.0.0")]
public class LoadedCompany : BaseUnityPlugin
{
public const string modGUID = "c0mmander.JumpHigher";
public const string modName = "Jump Higher";
public const string modVersion = "1.0.0.0";
private readonly Harmony harmony = new Harmony("c0mmander.JumpHigher");
private void Awake()
{
Logger.CreateLogSource("c0mmander.JumpHigher").LogMessage((object)"c0mmander.JumpHigher has loaded succesfully.");
harmony.PatchAll(typeof(JumpHigherMod));
}
}
[HarmonyPatch(typeof(PlayerControllerB))]
[HarmonyPatch("PlayerJump")]
internal class JumpHigherMod
{
[HarmonyPrefix]
private static void Postfix(ref float ___jumpForce)
{
___jumpForce = 20f;
}
}