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.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
using BepInEx.Logging;
using HarmonyLib;
using MeowMod.Patches;
using MeowMod.Properties;
using UnityEngine;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: AssemblyTitle("MeowMod")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("MeowMod")]
[assembly: AssemblyCopyright("Copyright © 2023")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("6e5645a9-7220-4e45-ab6b-9a82f1ec21ec")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace MeowMod
{
[BepInPlugin("Aries.MeowMod", "Mouth Dog Meow", "1.0.0")]
public class MeowModBase : BaseUnityPlugin
{
private const string modGUID = "Aries.MeowMod";
private const string modName = "Mouth Dog Meow";
private const string modVersion = "1.0.0";
private readonly Harmony harmony = new Harmony("Aries.MeowMod");
private static MeowModBase Instance;
internal ManualLogSource val;
private void Awake()
{
if ((Object)(object)Instance == (Object)null)
{
Instance = this;
}
val = Logger.CreateLogSource("Aries.MeowMod");
val.LogWarning((object)"ICD is online!");
harmony.PatchAll(typeof(MeowModBase));
harmony.PatchAll(typeof(MeowPatch));
}
}
}
namespace MeowMod.Properties
{
[GeneratedCode("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[DebuggerNonUserCode]
[CompilerGenerated]
internal class Resources
{
private static ResourceManager resourceMan;
private static CultureInfo resourceCulture;
[EditorBrowsable(EditorBrowsableState.Advanced)]
internal static ResourceManager ResourceManager
{
get
{
if (resourceMan == null)
{
resourceMan = new ResourceManager("MeowMod.Properties.Resources", typeof(Resources).Assembly);
}
return resourceMan;
}
}
[EditorBrowsable(EditorBrowsableState.Advanced)]
internal static CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
internal static byte[] meowbundle => (byte[])ResourceManager.GetObject("meowbundle", resourceCulture);
internal Resources()
{
}
}
}
namespace MeowMod.Patches
{
[HarmonyPatch(typeof(MouthDogAI))]
internal class MeowPatch
{
[HarmonyPatch("Start")]
[HarmonyPostfix]
private static void soundPatch(ref AudioClip ___breathingSFX)
{
AudioClip val = AssetBundle.LoadFromMemory(Resources.meowbundle).LoadAsset<AudioClip>("Assets/meow.mp3");
___breathingSFX = val;
}
}
}