Decompiled source of Normal Airhorn v1.0.2

Normal_Airhorn.dll

Decompiled 9 months ago
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
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: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = "")]
[assembly: IgnoresAccessChecksTo("")]
[assembly: AssemblyCompany("Normal_Airhorn")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyDescription("Makes the airhorn a normal airhorn.")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("Normal_Airhorn")]
[assembly: AssemblyTitle("Normal_Airhorn")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
namespace Normal_Airhorn
{
	[BepInPlugin("Normal_Airhorn", "Normal_Airhorn", "1.0.0")]
	public class Plugin : BaseUnityPlugin
	{
		private void Awake()
		{
			((BaseUnityPlugin)this).Logger.LogInfo((object)"Plugin Normal_Airhorn is loaded!");
			AudioClip audioClip = SoundTool.GetAudioClip("Meowpixel-Normal_Airhorn", "airhorn.mp3");
			SoundTool.ReplaceAudioClip("AirHorn1", audioClip);
		}
	}
	public static class PluginInfo
	{
		public const string PLUGIN_GUID = "Normal_Airhorn";

		public const string PLUGIN_NAME = "Normal_Airhorn";

		public const string PLUGIN_VERSION = "1.0.0";
	}
}
namespace System.Runtime.CompilerServices
{
	[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
	internal sealed class IgnoresAccessChecksToAttribute : Attribute
	{
		public IgnoresAccessChecksToAttribute(string assemblyName)
		{
		}
	}
}