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 YaHochuKakat v1.0.0
BepInEx/plugins/YaHochuKakatMod/YaHochuKakat.dll
Decompiled 2 years 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; using YaHochuKakat.Patches; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("YaHochuKakat")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("YaHochuKakat")] [assembly: AssemblyCopyright("Copyright © 2024")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("e95fd323-850a-4bb2-8eb9-482282507f2b")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] namespace YaHochuKakat { public static class ModInfo { public const string GUID = "Eyellen.YaHochuKakat"; public const string NAME = "Ya Hochu Kakat"; public const string VERSION = "1.0.0"; } [BepInPlugin("Eyellen.YaHochuKakat", "Ya Hochu Kakat", "1.0.0")] internal class YaHochuKakat : BaseUnityPlugin { private Harmony _harmony = new Harmony("Eyellen.YaHochuKakat"); private ManualLogSource _logger; private const string BUNDLE_NAME = "i_want_to_poop"; internal static AudioClip[] NewSFX; private void Awake() { _logger = Logger.CreateLogSource("Eyellen.YaHochuKakat"); _logger.LogInfo((object)"Ya Hochu Kakat is loading."); string location = ((BaseUnityPlugin)this).Info.Location; string text = "YaHochuKakat.dll"; string text2 = location.TrimEnd(text.ToCharArray()); string text3 = text2 + "i_want_to_poop"; AssetBundle val = AssetBundle.LoadFromFile(text3); if ((Object)(object)val != (Object)null) { NewSFX = val.LoadAllAssets<AudioClip>(); _harmony.PatchAll(typeof(HoarderBugPatch)); _logger.LogInfo((object)"Ya Hochu Kakat is successfully loaded."); } else { _logger.LogError((object)"Failed to load asset bundle!"); } } } } namespace YaHochuKakat.Patches { [HarmonyPatch(typeof(HoarderBugAI))] internal class HoarderBugPatch { [HarmonyPatch("Start")] [HarmonyPostfix] public static void OverrideSFX(ref AudioClip[] ___chitterSFX) { AudioClip[] newSFX = YaHochuKakat.NewSFX; ___chitterSFX = newSFX; } } }