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 RytmusBracken.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("RytmusBracken")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("RytmusBracken")]
[assembly: AssemblyCopyright("Copyright © 2024")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("aeb48231-ae29-49cf-8d3f-ad41a01f7a78")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace RytmusBracken
{
[BepInPlugin("KamenVacuumCleaner.RytmusBracken", "RytmusBracken", "1.1.0")]
public class Plugin : BaseUnityPlugin
{
private const string GUID = "KamenVacuumCleaner.RytmusBracken";
private const string NAME = "RytmusBracken";
private const string VERSION = "1.1.0";
private readonly Harmony harmony = new Harmony("RytmusBracken");
public static Plugin instance;
internal ManualLogSource mls;
private void Awake()
{
if ((Object)(object)instance == (Object)null)
{
instance = this;
}
mls = Logger.CreateLogSource("KamenVacuumCleaner.RytmusBracken");
mls.LogInfo((object)"Loading RytmusBracken...");
harmony.PatchAll(typeof(FlowermanAIPatch));
mls.LogInfo((object)"RytmusBracken v1.1.0 has been loaded up successfully!");
}
}
}
namespace RytmusBracken.Patches
{
[HarmonyPatch(typeof(FlowermanAI))]
internal class FlowermanAIPatch
{
[HarmonyPatch("Update")]
[HarmonyPostfix]
private static void UpdatePatch(FlowermanAI __instance)
{
__instance.creatureAngerVoice.pitch = 1f;
}
}
}