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 ChickenHornV2 v1.2.1
ChickenHorn.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 LCSoundTool; 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("ChickenHorn")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("ChickenHorn")] [assembly: AssemblyCopyright("Copyright © 2023")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("450a1617-5629-4e75-bc6e-a4a4868e5029")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] namespace ChickenHorn; [BepInPlugin("ChickenAirHorn", "Chicken Air Horn", "1.2.0")] public class ChickenBase : BaseUnityPlugin { private const string PLUGIN_GUID = "ChickenAirHorn"; private const string PLUGIN_NAME = "Chicken Air Horn"; private const string PLUGIN_VERSION = "1.2.0"; internal ManualLogSource logger; public static AudioClip sound; private void Awake() { logger = Logger.CreateLogSource("ChickenAirHorn"); logger.LogInfo((object)"Plugin ChickenAirHorn is loaded!"); } private void Start() { sound = SoundTool.GetAudioClip("plugins", "TrimmedChickenHorn.wav"); SoundTool.ReplaceAudioClip("AirHorn1", sound); } }