Decompiled source of manenemies v0.0.0

plugins/manenemies/manenemies.dll

Decompiled 4 days 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[72]
		{
			0, 0, 0, 1, 0, 0, 0, 64, 92, 65,
			115, 115, 101, 116, 115, 92, 109, 97, 110, 101,
			110, 101, 109, 105, 101, 115, 83, 116, 97, 103,
			105, 110, 103, 92, 112, 108, 117, 103, 105, 110,
			115, 92, 109, 97, 110, 101, 110, 101, 109, 105,
			101, 115, 92, 109, 97, 110, 101, 110, 101, 109,
			105, 101, 115, 80, 108, 117, 103, 105, 110, 46,
			99, 115
		};
		result.TypesData = new byte[52]
		{
			0, 0, 0, 0, 47, 77, 114, 77, 97, 110,
			46, 76, 101, 116, 104, 97, 108, 67, 111, 109,
			112, 97, 110, 121, 46, 109, 97, 110, 101, 110,
			101, 109, 105, 101, 115, 124, 109, 97, 110, 101,
			110, 101, 109, 105, 101, 115, 80, 108, 117, 103,
			105, 110
		};
		result.TotalFiles = 1;
		result.TotalTypes = 1;
		result.IsEditorOnly = false;
		return result;
	}
}
namespace MrMan.LethalCompany.manenemies;

[BepInPlugin("MrMan.manenemies", "manenemies", "0.0.0")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class manenemiesPlugin : BaseUnityPlugin
{
	public const string modGUID = "MrMan.manenemies";

	public const string modName = "manenemies";

	public const string modVersion = "0.0.0";

	private void Awake()
	{
		AssetBundle obj = AssetBundle.LoadFromFile(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "AssetBundles/MrMan_manenemies_SkinAssets"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<CoilheadSkin>("Assets/the cools/coilslend/Slendhead.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<BarberSkin>("Assets/the cools/barber bald/BaldBarrber.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<GhostGirlSkin>("Assets/the cools/New Folder/curseofwalkdog.asset"));
	}
}