Decompiled source of Sounds Pack v1.0.2

BepInEx/Plugins/FnafPowerOutage.dll

Decompiled 10 months ago
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
using BepInEx.Logging;
using FnafPowerOutage.Patches;
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("FnafPowerOutage")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("FnafPowerOutage")]
[assembly: AssemblyCopyright("Copyright ©  2023")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("30dedb46-5e2f-4907-98c0-4faa8f523b66")]
[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 FnafPowerOutage
{
	[BepInPlugin("atg.FnafPowerOutage", "Fnaf Power Outage", "1.0.1")]
	public class PowerOutageBase : BaseUnityPlugin
	{
		private const string modGUID = "atg.FnafPowerOutage";

		private const string modName = "Fnaf Power Outage";

		private const string modVersion = "1.0.1";

		private Harmony harmony = new Harmony("atg.FnafPowerOutage");

		private static PowerOutageBase Instance;

		internal ManualLogSource mls;

		internal static AudioClip[] newSFX;

		private void Awake()
		{
			//IL_0081: Unknown result type (might be due to invalid IL or missing references)
			//IL_008c: Expected O, but got Unknown
			if ((Object)(object)Instance == (Object)null)
			{
				Instance = this;
			}
			mls = Logger.CreateLogSource("atg.FnafPowerOutage");
			mls.LogInfo((object)"Starting Fnaf Power Outage");
			string location = ((BaseUnityPlugin)Instance).Info.Location;
			string text = "FnafPowerOutage.dll";
			string text2 = location.TrimEnd(text.ToCharArray());
			string text3 = text2 + "toreadormarch";
			mls.LogInfo((object)text3);
			AssetBundle val = AssetBundle.LoadFromFile(text3);
			if ((Object)val == (Object)null)
			{
				mls.LogError((object)"Failed to load audio assets!");
				return;
			}
			newSFX = val.LoadAssetWithSubAssets<AudioClip>("assets/toreadormarch.mp3");
			harmony.PatchAll(typeof(HudManagerPatch));
			mls.LogInfo((object)"FnafPowerOutage Mod is loaded");
			harmony.PatchAll(typeof(PowerOutageBase));
		}
	}
}
namespace FnafPowerOutage.Patches
{
	[HarmonyPatch(typeof(HUDManager))]
	internal class HudManagerPatch
	{
		[HarmonyPatch("Start")]
		[HarmonyPrefix]
		public static void powerOutageAudioPatch(ref AudioClip ___radiationWarningAudio)
		{
			AudioClip[] newSFX = PowerOutageBase.newSFX;
			if (newSFX != null && newSFX.Length != 0)
			{
				AudioClip val = newSFX[0];
				___radiationWarningAudio = val;
			}
		}
	}
}

BepInEx/Plugins/HawkScream.dll

Decompiled 10 months ago
using 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 HawkScreamSFX.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("HawkScream")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("HawkScream")]
[assembly: AssemblyCopyright("Copyright ©  2023")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("f7d716ce-51c4-4220-be5f-9c25ee5740e5")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace HawkScreamSFX
{
	[BepInPlugin("Ex.HawkScreamSFXMod", "Ex Hawk Scream SFX Mod", "1.0.0")]
	public class HawkScreamSFXBase : BaseUnityPlugin
	{
		private const string modGUID = "Ex.HawkScreamSFXMod";

		private const string modName = "Ex Hawk Scream SFX Mod";

		private const string modVersion = "1.0.0";

		private readonly Harmony harmony = new Harmony("Ex.HawkScreamSFXMod");

		private static HawkScreamSFXBase Instance;

		internal ManualLogSource mls;

		internal static AudioClip[] newHawkScreamSFX;

		internal static AudioClip[] newHawkLaughSFX;

		private void Awake()
		{
			if ((Object)(object)Instance == (Object)null)
			{
				Instance = this;
			}
			mls = Logger.CreateLogSource("Ex.HawkScreamSFXMod");
			mls.LogInfo((object)"HawkScream has initiated");
			string location = ((BaseUnityPlugin)Instance).Info.Location;
			string text = "HawkScream.dll";
			string text2 = location.TrimEnd(text.ToCharArray());
			string text3 = text2 + "HawkScreamSFX";
			AssetBundle val = AssetBundle.LoadFromFile(text3);
			if ((Object)(object)val == (Object)null)
			{
				mls.LogError((object)"Failed to load audio assets!");
				return;
			}
			newHawkScreamSFX = val.LoadAssetWithSubAssets<AudioClip>("Assets/RubCaw.mp3");
			newHawkLaughSFX = val.LoadAssetWithSubAssets<AudioClip>("Assets/Squeaky.mp3");
			harmony.PatchAll(typeof(HawkScreamSFXBase));
			harmony.PatchAll(typeof(HawkScreamPatch));
			harmony.PatchAll(typeof(HawkLaughPatch));
			mls.LogInfo((object)"HawkScream SFX mod has loaded.");
		}
	}
}
namespace HawkScreamSFX.Patches
{
	[HarmonyPatch(typeof(BaboonBirdAI))]
	internal class HawkLaughPatch
	{
		[HarmonyPatch("DoAIInterval")]
		[HarmonyPrefix]
		public static void HawkLaughSFXPatch(ref AudioClip[] ___cawLaughSFX)
		{
			___cawLaughSFX = HawkScreamSFXBase.newHawkLaughSFX;
		}
	}
	[HarmonyPatch(typeof(BaboonBirdAI))]
	internal class HawkScreamPatch
	{
		[HarmonyPatch("Update")]
		[HarmonyPrefix]
		public static void HawkScreamSFXPatch(ref AudioClip[] ___cawScreamSFX)
		{
			___cawScreamSFX = HawkScreamSFXBase.newHawkScreamSFX;
		}
	}
}

BepInEx/Plugins/LandMineFartReverb.dll

Decompiled 10 months ago
using System;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BepInEx;
using BepInEx.Logging;
using HarmonyLib;
using LandMineFartReverb.Patches;
using Microsoft.CodeAnalysis;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")]
[assembly: AssemblyCompany("LandMineFartReverb")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("LandMineFartReverb")]
[assembly: AssemblyTitle("LandMineFartReverb")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableAttribute : Attribute
	{
		public readonly byte[] NullableFlags;

		public NullableAttribute(byte P_0)
		{
			NullableFlags = new byte[1] { P_0 };
		}

		public NullableAttribute(byte[] P_0)
		{
			NullableFlags = P_0;
		}
	}
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableContextAttribute : Attribute
	{
		public readonly byte Flag;

		public NullableContextAttribute(byte P_0)
		{
			Flag = P_0;
		}
	}
}
namespace LandMineFartReverb
{
	[BepInPlugin("sunnobunno.landminefartreverb", "Land Mine Fart Reverb", "1.0.2")]
	public class LandMineFartReverbBase : BaseUnityPlugin
	{
		private const string modGUID = "sunnobunno.landminefartreverb";

		private const string modName = "Land Mine Fart Reverb";

		private const string modVersion = "1.0.2";

		private readonly Harmony harmony = new Harmony("sunnobunno.landminefartreverb");

		private static LandMineFartReverbBase? Instance;

		internal ManualLogSource? mls;

		internal static AudioClip[]? newMineDetonate;

		internal static AudioClip[]? newMineDetonateFar;

		private void Awake()
		{
			if ((Object)(object)Instance == (Object)null)
			{
				Instance = this;
			}
			mls = Logger.CreateLogSource("sunnobunno.landminefartreverb");
			mls.LogInfo((object)"sunnobunno.landminefartreverb is loading.");
			string location = ((BaseUnityPlugin)Instance).Info.Location;
			string text = "LandMineFartReverb.dll";
			string text2 = location.TrimEnd(text.ToCharArray());
			string text3 = text2 + "fartwithreverb";
			AssetBundle val = AssetBundle.LoadFromFile(text3);
			if ((Object)(object)val == (Object)null)
			{
				mls.LogError((object)"Failed to load audio assets!");
				return;
			}
			newMineDetonate = val.LoadAssetWithSubAssets<AudioClip>("Assets/fartwithreverb.mp3");
			newMineDetonateFar = val.LoadAssetWithSubAssets<AudioClip>("Assets/fartwithreverb.mp3");
			harmony.PatchAll(typeof(LandminePatch));
			mls.LogInfo((object)"sunnobunno.landminefartreverb is loaded. Pee-yeww.");
		}
	}
}
namespace LandMineFartReverb.Patches
{
	[HarmonyPatch(typeof(Landmine))]
	internal class LandminePatch
	{
		[HarmonyPatch("Start")]
		[HarmonyPostfix]
		public static void hoarderBugAudioPatch(ref AudioClip ___mineDetonate, ref AudioClip ___mineDetonateFar)
		{
			AudioClip val = LandMineFartReverbBase.newMineDetonate[0];
			___mineDetonate = val;
			AudioClip val2 = LandMineFartReverbBase.newMineDetonateFar[0];
			___mineDetonateFar = val2;
		}
	}
}

BepInEx/Plugins/LCFartLizards.dll

Decompiled 10 months ago
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Globalization;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using HarmonyLib;
using LCFartLizards.Properties;
using Microsoft.CodeAnalysis;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: AssemblyCompany("LCFartLizards")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyDescription("Spore lizards fart instead")]
[assembly: AssemblyFileVersion("1.2.1.0")]
[assembly: AssemblyInformationalVersion("1.2.1+0e5b5b266cd12247451733a48a210dfba5fe1c79")]
[assembly: AssemblyProduct("LCFartLizards")]
[assembly: AssemblyTitle("LCFartLizards")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.2.1.0")]
[module: UnverifiableCode]
[module: RefSafetyRules(11)]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)]
	internal sealed class RefSafetyRulesAttribute : Attribute
	{
		public readonly int Version;

		public RefSafetyRulesAttribute(int P_0)
		{
			Version = P_0;
		}
	}
}
namespace LCFartLizards
{
	[BepInPlugin("LCFartLizards", "LCFartLizards", "1.2.1")]
	public class Plugin : BaseUnityPlugin
	{
		[HarmonyPatch(typeof(PufferAI), "Start")]
		public static class PufferAIPatch
		{
			public static void Prefix(ref PufferAI __instance)
			{
				__instance.puff = audioClip;
			}
		}

		private Harmony harmony;

		public static AudioClip audioClip;

		public static bool audioClipLoaded;

		public void Awake()
		{
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_0022: Expected O, but got Unknown
			((BaseUnityPlugin)this).Logger.LogInfo((object)"Plugin LCFartLizards is loaded!");
			harmony = new Harmony("LCFartLizards");
			harmony.PatchAll();
			LoadAudioClip();
		}

		private void LoadAudioClip()
		{
			AssetBundle val = AssetBundle.LoadFromMemory(Resources.lcfartlizards);
			if ((Object)(object)val != (Object)null)
			{
				audioClip = val.LoadAsset<AudioClip>("Assets/LizardSound.mp3");
				if ((Object)(object)audioClip != (Object)null)
				{
					audioClipLoaded = true;
					((BaseUnityPlugin)this).Logger.LogInfo((object)"Audio clip loaded successfully!");
				}
				else
				{
					((BaseUnityPlugin)this).Logger.LogError((object)"Failed to load audio clip!");
				}
			}
			else
			{
				((BaseUnityPlugin)this).Logger.LogError((object)"Failed to load asset bundle!");
			}
		}
	}
	public static class PluginInfo
	{
		public const string PLUGIN_GUID = "LCFartLizards";

		public const string PLUGIN_NAME = "LCFartLizards";

		public const string PLUGIN_VERSION = "1.2.1";
	}
}
namespace LCFartLizards.Properties
{
	[GeneratedCode("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
	[DebuggerNonUserCode]
	[CompilerGenerated]
	public class Resources
	{
		private static ResourceManager resourceMan;

		private static CultureInfo resourceCulture;

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public static ResourceManager ResourceManager
		{
			get
			{
				if (resourceMan == null)
				{
					ResourceManager resourceManager = new ResourceManager("LCFartLizards.Properties.Resources", typeof(Resources).Assembly);
					resourceMan = resourceManager;
				}
				return resourceMan;
			}
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public static CultureInfo Culture
		{
			get
			{
				return resourceCulture;
			}
			set
			{
				resourceCulture = value;
			}
		}

		public static byte[] lcfartlizards
		{
			get
			{
				object @object = ResourceManager.GetObject("lcfartlizards", resourceCulture);
				return (byte[])@object;
			}
		}

		internal Resources()
		{
		}
	}
}

BepInEx/Plugins/YippeeMod.dll

Decompiled 10 months ago
using System;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BepInEx;
using BepInEx.Logging;
using HarmonyLib;
using Microsoft.CodeAnalysis;
using UnityEngine;
using YippeeMod.Patches;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")]
[assembly: AssemblyCompany("YippeeMod")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("YippeeMod")]
[assembly: AssemblyTitle("YippeeMod")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableAttribute : Attribute
	{
		public readonly byte[] NullableFlags;

		public NullableAttribute(byte P_0)
		{
			NullableFlags = new byte[1] { P_0 };
		}

		public NullableAttribute(byte[] P_0)
		{
			NullableFlags = P_0;
		}
	}
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableContextAttribute : Attribute
	{
		public readonly byte Flag;

		public NullableContextAttribute(byte P_0)
		{
			Flag = P_0;
		}
	}
}
namespace YippeeMod
{
	[BepInPlugin("sunnobunno.YippeeMod", "Yippee tbh mod", "1.2.2")]
	public class YippeeModBase : BaseUnityPlugin
	{
		private const string modGUID = "sunnobunno.YippeeMod";

		private const string modName = "Yippee tbh mod";

		private const string modVersion = "1.2.2";

		private readonly Harmony harmony = new Harmony("sunnobunno.YippeeMod");

		private static YippeeModBase? Instance;

		internal ManualLogSource? mls;

		internal static AudioClip[]? newSFX;

		private void Awake()
		{
			if ((Object)(object)Instance == (Object)null)
			{
				Instance = this;
			}
			mls = Logger.CreateLogSource("sunnobunno.YippeeMod");
			mls.LogInfo((object)"sunnobunno.YippeeMod is loading.");
			string location = ((BaseUnityPlugin)Instance).Info.Location;
			string text = "YippeeMod.dll";
			string text2 = location.TrimEnd(text.ToCharArray());
			string text3 = text2 + "yippeesound";
			AssetBundle val = AssetBundle.LoadFromFile(text3);
			if ((Object)(object)val == (Object)null)
			{
				mls.LogError((object)"Failed to load audio assets!");
				return;
			}
			newSFX = val.LoadAssetWithSubAssets<AudioClip>("assets/yippee-tbh.mp3");
			harmony.PatchAll(typeof(HoarderBugPatch));
			mls.LogInfo((object)"sunnobunno.YippeeMod is loaded. Yippee!!!");
		}
	}
}
namespace YippeeMod.Patches
{
	[HarmonyPatch(typeof(HoarderBugAI))]
	internal class HoarderBugPatch
	{
		[HarmonyPatch("Start")]
		[HarmonyPostfix]
		public static void hoarderBugAudioPatch(ref AudioClip[] ___chitterSFX)
		{
			AudioClip[] newSFX = YippeeModBase.newSFX;
			___chitterSFX = newSFX;
		}
	}
}