Decompiled source of bocchitheslime v1.0.1

plugins/bocchitheslime/bocchitheslime.dll

Decompiled 4 hours ago
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using AntlerShed.EnemySkinKit.Vanilla;
using AntlerShed.SkinRegistry;
using BepInEx;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: AssemblyVersion("0.0.0.0")]
[CompilerGenerated]
[EditorBrowsable(EditorBrowsableState.Never)]
[GeneratedCode("Unity.MonoScriptGenerator.MonoScriptInfoGenerator", null)]
internal class UnitySourceGeneratedAssemblyMonoScriptTypes_v1
{
	private struct MonoScriptData
	{
		public byte[] FilePathsData;

		public byte[] TypesData;

		public int TotalTypes;

		public int TotalFiles;

		public bool IsEditorOnly;
	}

	[MethodImpl(MethodImplOptions.AggressiveInlining)]
	private static MonoScriptData Get()
	{
		MonoScriptData result = default(MonoScriptData);
		result.FilePathsData = new byte[84]
		{
			0, 0, 0, 1, 0, 0, 0, 76, 92, 65,
			115, 115, 101, 116, 115, 92, 98, 111, 99, 99,
			104, 105, 116, 104, 101, 115, 108, 105, 109, 101,
			83, 116, 97, 103, 105, 110, 103, 92, 112, 108,
			117, 103, 105, 110, 115, 92, 98, 111, 99, 99,
			104, 105, 116, 104, 101, 115, 108, 105, 109, 101,
			92, 98, 111, 99, 99, 104, 105, 116, 104, 101,
			115, 108, 105, 109, 101, 80, 108, 117, 103, 105,
			110, 46, 99, 115
		};
		result.TypesData = new byte[61]
		{
			0, 0, 0, 0, 56, 110, 111, 98, 111, 100,
			121, 46, 76, 101, 116, 104, 97, 108, 67, 111,
			109, 112, 97, 110, 121, 46, 98, 111, 99, 99,
			104, 105, 116, 104, 101, 115, 108, 105, 109, 101,
			124, 98, 111, 99, 99, 104, 105, 116, 104, 101,
			115, 108, 105, 109, 101, 80, 108, 117, 103, 105,
			110
		};
		result.TotalFiles = 1;
		result.TotalTypes = 1;
		result.IsEditorOnly = false;
		return result;
	}
}
namespace nobody.LethalCompany.bocchitheslime;

[BepInPlugin("nobody.bocchitheslime", "bocchitheslime", "1.0.0")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class bocchitheslimePlugin : BaseUnityPlugin
{
	public const string modGUID = "nobody.bocchitheslime";

	public const string modName = "bocchitheslime";

	public const string modVersion = "1.0.0";

	private void Awake()
	{
		EnemySkinRegistry.RegisterSkin((Skin)(object)AssetBundle.LoadFromFile(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "AssetBundles/nobody_bocchitheslime_SkinAssets")).LoadAsset<HygrodereSkin>("Assets/myskinmod/bocchi.asset"));
	}
}