Decompiled source of hehehehawgirl v1.0.0

HeHeHeHawGirl.dll

Decompiled 6 months ago
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Globalization;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using BepInEx.Logging;
using LCSoundTool;
using Microsoft.CodeAnalysis;
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("HeHeHeHawGirl")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyDescription("Replaces the Girls walking sounds with HeHeHeHaw")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0+57c094f3e13029b61c1f2e14a339ae59e3a4db40")]
[assembly: AssemblyProduct("HeHeHeHawGirl")]
[assembly: AssemblyTitle("HeHeHeHawGirl")]
[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 flyingpig525.hehehehawGirl
{
	[BepInPlugin("HeHeHeHawGirl", "HeHeHeHaw Girl", "1.0.0")]
	public class HeHeHeHawGirl : BaseUnityPlugin
	{
		private const string PLUGIN_GUID = "HeHeHeHawGirl";

		private const string PLUGIN_NAME = "HeHeHeHaw Girl";

		internal ManualLogSource logger;

		public static AudioClip HeHeHeHaw;

		private void Awake()
		{
			logger = Logger.CreateLogSource("HeHeHeHawGirl");
			logger.LogInfo((object)"Plugin HeHeHeHawGirl is loaded!");
		}

		private void Start()
		{
			HeHeHeHaw = SoundTool.GetAudioClip("flyingpig525-hehehehawgirl", "funnysound.mp3");
			((Object)HeHeHeHaw).name = "funnysound";
			SoundTool.ReplaceAudioClip("SkipWalk1", HeHeHeHaw);
			SoundTool.ReplaceAudioClip("SkipWalk2", HeHeHeHaw);
			SoundTool.ReplaceAudioClip("SkipWalk3", HeHeHeHaw);
			SoundTool.ReplaceAudioClip("SkipWalk4", HeHeHeHaw);
			SoundTool.ReplaceAudioClip("SkipWalk5", HeHeHeHaw);
			SoundTool.ReplaceAudioClip("SkipWalk6", HeHeHeHaw);
			SoundTool.ReplaceAudioClip("Breathing", HeHeHeHaw);
			SoundTool.ReplaceAudioClip("Breath1", HeHeHeHaw);
			SoundTool.ReplaceAudioClip("Breath2", HeHeHeHaw);
			SoundTool.ReplaceAudioClip("Breath3", HeHeHeHaw);
		}
	}
}
namespace LCSoundToolTestMod
{
	public static class PluginInfo
	{
		public const string PLUGIN_GUID = "HeHeHeHawGirl";

		public const string PLUGIN_NAME = "HeHeHeHawGirl";

		public const string PLUGIN_VERSION = "1.0.0";
	}
}
namespace LCSoundToolTestMod.Properties
{
	[GeneratedCode("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
	[DebuggerNonUserCode]
	[CompilerGenerated]
	internal class Resources
	{
		private static ResourceManager resourceMan;

		private static CultureInfo resourceCulture;

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		internal static ResourceManager ResourceManager
		{
			get
			{
				if (resourceMan == null)
				{
					ResourceManager resourceManager = new ResourceManager("LCSoundToolTestMod.Properties.Resources", typeof(Resources).Assembly);
					resourceMan = resourceManager;
				}
				return resourceMan;
			}
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		internal static CultureInfo Culture
		{
			get
			{
				return resourceCulture;
			}
			set
			{
				resourceCulture = value;
			}
		}

		internal Resources()
		{
		}
	}
}