Decompiled source of JalapenBrackenSkin v1.0.2

BepInEx/plugins/JalapenBrackenSkin/JalapenBrackenSkin.dll

Decompiled 4 months 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[96]
		{
			0, 0, 0, 1, 0, 0, 0, 88, 92, 65,
			115, 115, 101, 116, 115, 92, 74, 97, 108, 97,
			112, 101, 110, 66, 114, 97, 99, 107, 101, 110,
			83, 107, 105, 110, 83, 116, 97, 103, 105, 110,
			103, 92, 112, 108, 117, 103, 105, 110, 115, 92,
			74, 97, 108, 97, 112, 101, 110, 66, 114, 97,
			99, 107, 101, 110, 83, 107, 105, 110, 92, 74,
			97, 108, 97, 112, 101, 110, 66, 114, 97, 99,
			107, 101, 110, 83, 107, 105, 110, 80, 108, 117,
			103, 105, 110, 46, 99, 115
		};
		result.TypesData = new byte[74]
		{
			0, 0, 0, 0, 69, 100, 101, 106, 115, 117,
			110, 107, 105, 49, 48, 48, 46, 76, 101, 116,
			104, 97, 108, 67, 111, 109, 112, 97, 110, 121,
			46, 74, 97, 108, 97, 112, 101, 110, 66, 114,
			97, 99, 107, 101, 110, 83, 107, 105, 110, 124,
			74, 97, 108, 97, 112, 101, 110, 66, 114, 97,
			99, 107, 101, 110, 83, 107, 105, 110, 80, 108,
			117, 103, 105, 110
		};
		result.TotalFiles = 1;
		result.TotalTypes = 1;
		result.IsEditorOnly = false;
		return result;
	}
}
namespace dejsunki100.LethalCompany.JalapenBrackenSkin;

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

	public const string modName = "JalapenBrackenSkin";

	public const string modVersion = "1.0.0";

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