Decompiled source of BigReimuFumo v1.0.0

GiantFumo.dll

Decompiled a year ago
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
using LethalLib.Modules;
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("Giant_Fumo")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Giant_Fumo")]
[assembly: AssemblyCopyright("Copyright ©  2023")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("dd667013-68ae-4f71-a06a-ab6c40500d34")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace GiantFumo;

[BepInPlugin("koizumi.giantFumo", "Giant Fumo", "1.0.0")]
public class Plugin : BaseUnityPlugin
{
	private const string GUID = "koizumi.giantFumo";

	private const string NAME = "Giant Fumo";

	private const string VERSION = "1.0.0";

	public static Plugin instance;

	private void Awake()
	{
		instance = this;
		string text = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "giantfumo");
		AssetBundle val = AssetBundle.LoadFromFile(text);
		Item val2 = val.LoadAsset<Item>("Assets/GiantFumo/GiantFumoItem.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val2.spawnPrefab);
		Items.RegisterScrap(val2, 50, (LevelTypes)(-1));
		((BaseUnityPlugin)this).Logger.LogInfo((object)"The big Reimu Fumo has been loaded");
	}
}