using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using HarmonyLib;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = "")]
[assembly: AssemblyCompany("WhoopieShushion")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyDescription("Silence that woopie cushion.")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("Whoopie Shushion")]
[assembly: AssemblyTitle("WhoopieShushion")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
namespace WhoopieShushion;
[BepInPlugin("WhoopieShushion", "Whoopie Shushion", "1.0.0")]
public class Plugin : BaseUnityPlugin
{
private void Awake()
{
//IL_0015: Unknown result type (might be due to invalid IL or missing references)
((BaseUnityPlugin)this).Logger.LogInfo((object)"Plugin WhoopieShushion is loaded!");
new Harmony("WhoopieShushion").PatchAll();
}
}
[HarmonyPatch(typeof(WhoopieCushionTrigger))]
public class PreventFartSound
{
[HarmonyPatch("OnTriggerEnter")]
[HarmonyPrefix]
private static bool Patch()
{
return false;
}
}
public static class PluginInfo
{
public const string PLUGIN_GUID = "WhoopieShushion";
public const string PLUGIN_NAME = "Whoopie Shushion";
public const string PLUGIN_VERSION = "1.0.0";
}