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 StamRegen v1.0.0
REPOStamRegen.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 BepInEx.Logging; using HarmonyLib; using REPOStamRegen.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("REPOStamRegen")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("REPOStamRegen")] [assembly: AssemblyCopyright("Copyright © 2025")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("e4823bd9-8c0c-4a03-b83a-e359fa33997d")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] namespace REPOStamRegen { [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInPlugin("Annown.StamRegen", "REPO Stam Regen Upgrade", "1.0.0.0")] public class REPOStamRegenBase : BaseUnityPlugin { private const string modGUID = "Annown.StamRegen"; private const string modName = "REPO Stam Regen Upgrade"; private const string modVersion = "1.0.0.0"; private readonly Harmony harmony = new Harmony("Annown.StamRegen"); private static REPOStamRegenBase Instance; internal ManualLogSource mls; private void Awake() { if ((Object)(object)Instance == (Object)null) { Instance = this; } mls = Logger.CreateLogSource("Annown.StamRegen"); mls.LogInfo((object)"Stam Regen Upgrade Enabled, ENJOY :)"); harmony.PatchAll(typeof(REPOStamRegenBase)); harmony.PatchAll(typeof(PlayerControllerPatch1)); } } } namespace REPOStamRegen.Patches { [HarmonyPatch(typeof(PlayerController))] internal class PlayerControllerPatch1 { [HarmonyPatch("Update")] [HarmonyPrefix] private static void stamRegenPatch(ref float ___sprintRechargeAmount) { ___sprintRechargeAmount = 8f; } } }