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 KeepPlaying v1.0.0
KeepPlaying.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 KeepPlaying.Patches; using PersonalBoombox; 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("KeepPlaying")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("KeepPlaying")] [assembly: AssemblyCopyright("Copyright © 2025")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("6f4d6186-a1bd-44cf-be28-b3e9f63b031f")] [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 KeepPlaying { [BepInPlugin("MLogan06.KeepPlaying", "KeepPlaying", "1.0.0")] public class KeepPlayingBase : BaseUnityPlugin { private const string modGUID = "MLogan06.KeepPlaying"; private const string modName = "KeepPlaying"; private const string modVersion = "1.0.0"; private readonly Harmony harmony = new Harmony("MLogan06.KeepPlaying"); private static KeepPlayingBase Instance; internal ManualLogSource mls; private void Awake() { if ((Object)(object)Instance == (Object)null) { Instance = this; } mls = Logger.CreateLogSource("MLogan06.KeepPlaying"); mls.LogInfo((object)"Yo!"); harmony.PatchAll(typeof(KeepPlayingBase)); harmony.PatchAll(typeof(KeepPlayingYOPB)); } } } namespace KeepPlaying.Patches { [HarmonyPatch(typeof(PersonalBoomboxItem))] public class KeepPlayingYOPB { private const string modGUID = "MLogan06.KeepPlaying"; [HarmonyPatch("PocketItem")] [HarmonyPrefix] private static void keepPlayingPatch(ref bool ___continuePlayingOnPocket) { ___continuePlayingOnPocket = true; } } }