Decompiled source of JORTSTORM v1.1.1

JORTSTORM.dll

Decompiled 11 months ago
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
using HarmonyLib;
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("JORTSTORM")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("JORTSTORM")]
[assembly: AssemblyCopyright("Copyright ©  2023")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("dfa64c2b-98b7-4713-8104-a89f530c403e")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace JORTSTORM;

[BepInPlugin("Miruneko-JORTSTORM", "JORT STORM", "1.1.1.0")]
public class JortStormBase : BaseUnityPlugin
{
	private const string modGUID = "Miruneko-JORTSTORM";

	private const string modName = "JORT STORM";

	private const string modVersion = "1.1.1.0";

	private readonly Harmony harmony = new Harmony("Miruneko-JORTSTORM");

	private static JortStormBase Instance;

	private AudioClip JortStormSound;

	private void Awake()
	{
		JortStormSound = SoundTool.GetAudioClip("Miruneko-JORTSTORM", "jortstorm.mp3");
		SoundTool.ReplaceAudioClip("IntroCompanySpeech", JortStormSound);
		if ((Object)(object)Instance == (Object)null)
		{
			Instance = this;
		}
		harmony.PatchAll(typeof(JortStormBase));
	}
}