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 SprintRechargeRate v1.0.0
SprintRechargeRate.dll
Decompiled 4 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 HarmonyLib; 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("SprintRechargeRate")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("SprintRechargeRate")] [assembly: AssemblyCopyright("Copyright © 2025")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("d7e9607d-dd63-45a8-96e7-cb420c6800a6")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] namespace SprintRechargeRate { [BepInPlugin("Patt.SprintRecharge", "SprintRecharge", "1.0.0")] public class SprintRecharge : BaseUnityPlugin { private const string modGUID = "Patt.SprintRecharge"; private const string modName = "SprintRecharge"; private const string modVersion = "1.0.0"; private readonly Harmony harmony = new Harmony("Patt.SprintRecharge"); private static SprintRecharge Instance; internal ManualLogSource mls; private void Awake() { if ((Object)(object)Instance == (Object)null) { Instance = this; } mls = Logger.CreateLogSource("Patt.SprintRecharge"); mls.LogInfo((object)"Sprint Recharge is loading..."); harmony.PatchAll(); mls.LogInfo((object)"Sprint Recharge loaded successfully!"); } } } namespace SprintRechargeRate.SprintRechargePatch { [HarmonyPatch(typeof(PlayerController))] internal class SprintRechargeTimePatch { [HarmonyPatch("Update")] [HarmonyPostfix] private static void ImprovedSprintRechargeRatePatch(ref float ___sprintRechargeTime, ref float ___sprintRechargeAmount) { ___sprintRechargeTime = 0.1f; ___sprintRechargeAmount = 10f; } } }