Please disclose if your mod was created primarily 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 GangstaBoombox v1.0.0
GangstaBoombox/GanstaBoombox.dll
Decompiled a year agousing System.CodeDom.Compiler; using System.Collections.Generic; using System.Configuration; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using BepInEx.Logging; using GangstaBoombox.Patches; using GangstaBoomboxMod; 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("GanstaBoombox")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("GanstaBoombox")] [assembly: AssemblyCopyright("Copyright © 2025")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("7ac548d6-e2dc-4f6f-a73d-65f042a12507")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] namespace GanstaBoombox.Properties { [CompilerGenerated] [GeneratedCode("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.13.0.0")] internal sealed class Settings : ApplicationSettingsBase { private static Settings defaultInstance = (Settings)(object)SettingsBase.Synchronized((SettingsBase)(object)new Settings()); public static Settings Default => defaultInstance; } } namespace GangstaBoombox.Patches { [HarmonyPatch(typeof(BoomboxItem))] internal class BoomboxPatch { [HarmonyPatch("StartMusic")] [HarmonyPrefix] private static void OverrideAudio(BoomboxItem __instance) { __instance.musicAudios[0] = GangstaBoomboxBase.SoundFX[0]; __instance.musicAudios[1] = GangstaBoomboxBase.SoundFX[0]; __instance.musicAudios[2] = GangstaBoomboxBase.SoundFX[0]; __instance.musicAudios[3] = GangstaBoomboxBase.SoundFX[0]; __instance.musicAudios[4] = GangstaBoomboxBase.SoundFX[0]; __instance.boomboxAudio.clip = __instance.musicAudios[__instance.musicRandomizer.Next(1, 2)]; } } } namespace GangstaBoomboxMod { [BepInPlugin("Plantain.Gangsta", "Gangsta Boombox Mod", "1.0.0.0")] public class GangstaBoomboxBase : BaseUnityPlugin { private const string modGUID = "Plantain.Gangsta"; private const string modName = "Gangsta Boombox Mod"; private const string modVersion = "1.0.0.0"; private readonly Harmony harmony = new Harmony("Plantain.Gangsta"); private static GangstaBoomboxBase Instance; internal ManualLogSource mls; internal static List<AudioClip> SoundFX; internal static AssetBundle Bundle; private void Awake() { if ((Object)(object)Instance == (Object)null) { Instance = this; } mls = Logger.CreateLogSource("Plantain.Gangsta"); mls.LogInfo((object)"time to be not racist!!"); harmony.PatchAll(typeof(GangstaBoomboxBase)); harmony.PatchAll(typeof(BoomboxPatch)); mls = ((BaseUnityPlugin)this).Logger; SoundFX = new List<AudioClip>(); string location = ((BaseUnityPlugin)Instance).Info.Location; location = location.TrimEnd("GanstaBoombox.dll".ToCharArray()); Bundle = AssetBundle.LoadFromFile(location + "ganstarap"); if ((Object)(object)Bundle != (Object)null) { mls.LogInfo((object)"Successfully loaded asset bundle"); SoundFX = Bundle.LoadAllAssets<AudioClip>().ToList(); } else { mls.LogInfo((object)"Failed to load asset bundle :C"); } } } }
GangstaBoombox/PlantainIntro.dll
Decompiled a year agousing System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using BepInEx.Logging; using HarmonyLib; using PlantainIntro.Patches; using PlantainIntroMod; 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("PlantainIntro")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("PlantainIntro")] [assembly: AssemblyCopyright("Copyright © 2025")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("d2ee2f27-9c16-456c-b54e-edb75e0b72f0")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] namespace PlantainIntroMod { [BepInPlugin("Plantain.Intro", "Plantain Intro Mod", "1.0.0.0")] public class PlantainIntroBase : BaseUnityPlugin { private const string modGUID = "Plantain.Intro"; private const string modName = "Plantain Intro Mod"; private const string modVersion = "1.0.0.0"; private readonly Harmony harmony = new Harmony("Plantain.Intro"); private static PlantainIntroBase Instance; internal ManualLogSource mls; internal static List<AudioClip> SoundFX; internal static AssetBundle Bundle; private void Awake() { if ((Object)(object)Instance == (Object)null) { Instance = this; } mls = Logger.CreateLogSource("Plantain.Intro"); mls.LogInfo((object)"time to be not racist!!"); harmony.PatchAll(typeof(PlantainIntroPatch)); harmony.PatchAll(typeof(PlantainIntroBase)); mls = ((BaseUnityPlugin)this).Logger; SoundFX = new List<AudioClip>(); string location = ((BaseUnityPlugin)Instance).Info.Location; location = location.TrimEnd("PlantainIntro.dll".ToCharArray()); Bundle = AssetBundle.LoadFromFile(location + "plantain"); if ((Object)(object)Bundle != (Object)null) { mls.LogInfo((object)"Successfully loaded asset bundle"); SoundFX = Bundle.LoadAllAssets<AudioClip>().ToList(); } else { mls.LogInfo((object)"Failed to load asset bundle :C"); } } } } namespace PlantainIntro.Patches { [HarmonyPatch(typeof(StartOfRound))] internal class PlantainIntroPatch { [HarmonyPatch("Start")] [HarmonyPostfix] private static void OverrideAudio(StartOfRound __instance) { __instance.shipIntroSpeechSFX = PlantainIntroBase.SoundFX[0]; } } }