Decompiled source of SatoruGojo v1.4.4

plugins/SatoruGojo/SatoruGojoSurvivor.dll

Decompiled 3 weeks 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 GojoSatoruMod.Content;
using R2API.Utils;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: AssemblyCompany("SatoruGojoSurvivor")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyFileVersion("1.4.4.0")]
[assembly: AssemblyInformationalVersion("1.4.4+a220052f4facbc464d0916c7fa39266323e39649")]
[assembly: AssemblyProduct("SatoruGojoSurvivor")]
[assembly: AssemblyTitle("SatoruGojoSurvivor")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
namespace GojoSatoruMod.Gojo;

[NetworkCompatibility(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency("dev.marmennz.satorugojo", "1.4.3")]
[BepInPlugin("dev.marmennz.gojo", "Satoru Gojo", "1.4.4")]
public sealed class GojoPlugin : BaseUnityPlugin
{
	public const string PluginGuid = "dev.marmennz.gojo";

	public const string PluginVersion = "1.4.4";

	public const string PluginName = "Satoru Gojo";

	private void Awake()
	{
		if (JujutsuCoreContract.Accepts(1, "1.4.4", "Satoru Gojo", "1.4.4", ((BaseUnityPlugin)this).Logger))
		{
			int num = JujutsuStartup.FailureMark();
			JujutsuStartup.UseHost((MonoBehaviour)(object)this);
			JujutsuAssetPaths.AddPlugin(Path.GetDirectoryName(((BaseUnityPlugin)this).Info.Location));
			JujutsuStartup.Step("Gojo's text", (Action)GojoLanguage.Register);
			JujutsuStartup.Step("Gojo's assets", (Action)GojoAssets.Initialize);
			JujutsuStartup.Step("Gojo's sounds", (Action)delegate
			{
				((MonoBehaviour)this).StartCoroutine(GojoAssets.LoadAttackSounds());
			});
			JujutsuStartup.Survivor("Gojo", (Action)GojoSurvivor.Initialize);
			JujutsuStartup.Loaded("Satoru Gojo", "1.4.4", num, ((BaseUnityPlugin)this).Logger);
		}
	}
}
internal static class GeneratedVersion
{
	internal const string Value = "1.4.4";
}