Decompiled source of CustomSoundsByQwixck v1.0.1

CustomSoundsByQwixck.dll

Decompiled 10 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;

[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: AssemblyCompany("CustomSoundsByQwixck")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyDescription("Custom sounds made by qwixck")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("CustomSoundsByQwixck")]
[assembly: AssemblyTitle("CustomSoundsByQwixck")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
namespace CustomSoundsByQwixck;

[BepInPlugin("com.qwixck.plugins.CustomSoundsByQwixck", "Custom sounds by qwixck", "1.0.0")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class Plugin : BaseUnityPlugin
{
	private void Awake()
	{
		((BaseUnityPlugin)this).Logger.LogInfo((object)"Plugin CustomSoundsByQwixck is loaded!");
	}

	private void Start()
	{
		SoundTool.ReplaceAudioClip("HeadGoUp", SoundTool.GetAudioClip("CustomSoundsByQwixck", "Nutcracker", "HeadGoUp.wav"));
		SoundTool.ReplaceAudioClip("AlertedSFX", SoundTool.GetAudioClip("CustomSoundsByQwixck", "Nutcracker", "AlertedSFX.wav"));
		SoundTool.ReplaceAudioClip("MetalSqueak1", SoundTool.GetAudioClip("CustomSoundsByQwixck", "Nutcracker", "MetalSqueak1.wav"));
		SoundTool.ReplaceAudioClip("MetalSqueak2", SoundTool.GetAudioClip("CustomSoundsByQwixck", "Nutcracker", "MetalSqueak2.wav"));
		SoundTool.ReplaceAudioClip("MetalSqueak3", SoundTool.GetAudioClip("CustomSoundsByQwixck", "Nutcracker", "MetalSqueak3.wav"));
		SoundTool.ReplaceAudioClip("MetalSqueak4", SoundTool.GetAudioClip("CustomSoundsByQwixck", "Nutcracker", "MetalSqueak4.wav"));
		SoundTool.ReplaceAudioClip("NutcrackerDie", SoundTool.GetAudioClip("CustomSoundsByQwixck", "Nutcracker", "NutcrackerDie.wav"));
		SoundTool.ReplaceAudioClip("NutcrackerHitEye", SoundTool.GetAudioClip("CustomSoundsByQwixck", "Nutcracker", "NutcrackerHitEye.wav"));
		SoundTool.ReplaceAudioClip("NutcrackerTurn", SoundTool.GetAudioClip("CustomSoundsByQwixck", "Nutcracker", "NutcrackerTurn.wav"));
		SoundTool.ReplaceAudioClip("ShotgunBlast", SoundTool.GetAudioClip("CustomSoundsByQwixck", "Nutcracker", "ShotgunBlast.wav"));
		SoundTool.ReplaceAudioClip("ShotgunBlast2", SoundTool.GetAudioClip("CustomSoundsByQwixck", "Nutcracker", "ShotgunBlast2.wav"));
		SoundTool.ReplaceAudioClip("ShotgunReloadNutcracker", SoundTool.GetAudioClip("CustomSoundsByQwixck", "Nutcracker", "ShotgunReloadNutcracker.wav"));
		SoundTool.ReplaceAudioClip("TurretFire", SoundTool.GetAudioClip("CustomSoundsByQwixck", "Turret", "TurretFire.wav"));
		SoundTool.ReplaceAudioClip("TurretActivate", SoundTool.GetAudioClip("CustomSoundsByQwixck", "Turret", "TurretActivate.wav"));
		SoundTool.ReplaceAudioClip("TurretFireDistance", SoundTool.GetAudioClip("CustomSoundsByQwixck", "Turret", "TurretFireDistance.wav"));
		SoundTool.ReplaceAudioClip("TurretSeePlayer", SoundTool.GetAudioClip("CustomSoundsByQwixck", "Turret", "TurretSeePlayer.wav"), 50f);
		SoundTool.ReplaceAudioClip("TurretSeePlayer", SoundTool.GetAudioClip("CustomSoundsByQwixck", "Turret", "TurretSeePlayer2.wav"), 50f);
		SoundTool.ReplaceAudioClip("TurretBerserkMode", SoundTool.GetAudioClip("CustomSoundsByQwixck", "Turret", "TurretBerserkMode.wav"));
	}
}
public static class PluginInfo
{
	public const string PLUGIN_GUID = "CustomSoundsByQwixck";

	public const string PLUGIN_NAME = "CustomSoundsByQwixck";

	public const string PLUGIN_VERSION = "1.0.0";
}