Decompiled source of ImminentMort v1.0.3

ImminentMort.dll

Decompiled 5 months ago
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using LCSoundTool;
using Microsoft.CodeAnalysis;
using On;
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 = ".NET Standard 2.1")]
[assembly: AssemblyCompany("ImminentMort")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyDescription("lalala...")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0+43206f0475d7dae18e393eaa115cfd192399712f")]
[assembly: AssemblyProduct("ImminentMort")]
[assembly: AssemblyTitle("ImminentMort")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
[module: RefSafetyRules(11)]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)]
	internal sealed class RefSafetyRulesAttribute : Attribute
	{
		public readonly int Version;

		public RefSafetyRulesAttribute(int P_0)
		{
			Version = P_0;
		}
	}
}
namespace ImminentMort
{
	[BepInPlugin("ImminentMort", "Imminent Mort", "1.0.0")]
	public class ImminentMort : BaseUnityPlugin
	{
		private const string PLUGIN_GUID = "ImminentMort";

		private const string PLUGIN_NAME = "Imminent Mort";

		private void Awake()
		{
			//IL_0008: Unknown result type (might be due to invalid IL or missing references)
			//IL_0012: Expected O, but got Unknown
			DressGirlAI.Start += new hook_Start(DressGirlAI_Start);
			((BaseUnityPlugin)this).Logger.LogInfo((object)"Plugin ImminentMort is loaded!");
		}

		private void DressGirlAI_Start(orig_Start orig, DressGirlAI self)
		{
			orig.Invoke(self);
			self.breathingSFX = SoundTool.GetAudioClip(Path.Combine(Paths.PluginPath, "blinford-ImminentMort"), "lalala.wav");
			self.appearStaringSFX = (AudioClip[])(object)new AudioClip[1] { SoundTool.GetAudioClip(Path.Combine(Paths.PluginPath, "blinford-ImminentMort"), "hehehehehe.wav") };
		}
	}
	public static class PluginInfo
	{
		public const string PLUGIN_GUID = "ImminentMort";

		public const string PLUGIN_NAME = "ImminentMort";

		public const string PLUGIN_VERSION = "1.0.0";
	}
}