Decompiled source of man enemies v2.0.0

plugins/man_enemies/man_Enemies.dll

Decompiled 2 weeks 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[75]
		{
			0, 0, 0, 1, 0, 0, 0, 67, 92, 65,
			115, 115, 101, 116, 115, 92, 109, 97, 110, 95,
			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, 95, 101, 110, 101,
			109, 105, 101, 115, 92, 109, 97, 110, 95, 69,
			110, 101, 109, 105, 101, 115, 80, 108, 117, 103,
			105, 110, 46, 99, 115
		};
		result.TypesData = new byte[54]
		{
			0, 0, 0, 0, 49, 77, 114, 77, 97, 110,
			46, 76, 101, 116, 104, 97, 108, 67, 111, 109,
			112, 97, 110, 121, 46, 109, 97, 110, 95, 69,
			110, 101, 109, 105, 101, 115, 124, 109, 97, 110,
			95, 69, 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.man_Enemies;

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

	public const string modName = "man_enemies";

	public const string modVersion = "2.0.0";

	private void Awake()
	{
		//IL_003d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0042: Unknown result type (might be due to invalid IL or missing references)
		//IL_0053: Unknown result type (might be due to invalid IL or missing references)
		//IL_0058: Unknown result type (might be due to invalid IL or missing references)
		//IL_0069: Unknown result type (might be due to invalid IL or missing references)
		//IL_006e: Unknown result type (might be due to invalid IL or missing references)
		//IL_007f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0084: Unknown result type (might be due to invalid IL or missing references)
		//IL_0095: Unknown result type (might be due to invalid IL or missing references)
		//IL_009a: Unknown result type (might be due to invalid IL or missing references)
		//IL_00ab: Unknown result type (might be due to invalid IL or missing references)
		//IL_00b0: Unknown result type (might be due to invalid IL or missing references)
		//IL_00c1: Unknown result type (might be due to invalid IL or missing references)
		//IL_00c6: Unknown result type (might be due to invalid IL or missing references)
		//IL_00d7: Unknown result type (might be due to invalid IL or missing references)
		//IL_00dc: Unknown result type (might be due to invalid IL or missing references)
		//IL_00ed: Unknown result type (might be due to invalid IL or missing references)
		//IL_00f2: Unknown result type (might be due to invalid IL or missing references)
		//IL_0104: Unknown result type (might be due to invalid IL or missing references)
		//IL_0109: Unknown result type (might be due to invalid IL or missing references)
		//IL_011b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0120: Unknown result type (might be due to invalid IL or missing references)
		//IL_012f: Unknown result type (might be due to invalid IL or missing references)
		//IL_015c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0161: Unknown result type (might be due to invalid IL or missing references)
		//IL_0172: Unknown result type (might be due to invalid IL or missing references)
		//IL_0177: Unknown result type (might be due to invalid IL or missing references)
		//IL_0188: Unknown result type (might be due to invalid IL or missing references)
		//IL_018d: Unknown result type (might be due to invalid IL or missing references)
		//IL_019e: Unknown result type (might be due to invalid IL or missing references)
		//IL_01a3: Unknown result type (might be due to invalid IL or missing references)
		//IL_01b4: Unknown result type (might be due to invalid IL or missing references)
		//IL_01b9: Unknown result type (might be due to invalid IL or missing references)
		//IL_01ca: Unknown result type (might be due to invalid IL or missing references)
		//IL_01cf: Unknown result type (might be due to invalid IL or missing references)
		//IL_01e0: Unknown result type (might be due to invalid IL or missing references)
		//IL_01e5: Unknown result type (might be due to invalid IL or missing references)
		//IL_01f6: Unknown result type (might be due to invalid IL or missing references)
		//IL_01fb: Unknown result type (might be due to invalid IL or missing references)
		//IL_020c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0211: Unknown result type (might be due to invalid IL or missing references)
		//IL_0223: Unknown result type (might be due to invalid IL or missing references)
		//IL_0228: Unknown result type (might be due to invalid IL or missing references)
		//IL_023a: Unknown result type (might be due to invalid IL or missing references)
		//IL_023f: Unknown result type (might be due to invalid IL or missing references)
		//IL_024e: Unknown result type (might be due to invalid IL or missing references)
		//IL_027b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0280: Unknown result type (might be due to invalid IL or missing references)
		//IL_0291: Unknown result type (might be due to invalid IL or missing references)
		//IL_0296: Unknown result type (might be due to invalid IL or missing references)
		//IL_02a7: Unknown result type (might be due to invalid IL or missing references)
		//IL_02ac: Unknown result type (might be due to invalid IL or missing references)
		//IL_02bd: Unknown result type (might be due to invalid IL or missing references)
		//IL_02c2: Unknown result type (might be due to invalid IL or missing references)
		//IL_02d3: Unknown result type (might be due to invalid IL or missing references)
		//IL_02d8: Unknown result type (might be due to invalid IL or missing references)
		//IL_02e9: Unknown result type (might be due to invalid IL or missing references)
		//IL_02ee: Unknown result type (might be due to invalid IL or missing references)
		//IL_02ff: Unknown result type (might be due to invalid IL or missing references)
		//IL_0304: Unknown result type (might be due to invalid IL or missing references)
		//IL_0315: Unknown result type (might be due to invalid IL or missing references)
		//IL_031a: Unknown result type (might be due to invalid IL or missing references)
		//IL_032b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0330: Unknown result type (might be due to invalid IL or missing references)
		//IL_0342: Unknown result type (might be due to invalid IL or missing references)
		//IL_0347: Unknown result type (might be due to invalid IL or missing references)
		//IL_0359: Unknown result type (might be due to invalid IL or missing references)
		//IL_035e: Unknown result type (might be due to invalid IL or missing references)
		//IL_036d: Unknown result type (might be due to invalid IL or missing references)
		//IL_039a: Unknown result type (might be due to invalid IL or missing references)
		//IL_039f: Unknown result type (might be due to invalid IL or missing references)
		//IL_03b0: Unknown result type (might be due to invalid IL or missing references)
		//IL_03b5: Unknown result type (might be due to invalid IL or missing references)
		//IL_03c6: Unknown result type (might be due to invalid IL or missing references)
		//IL_03cb: Unknown result type (might be due to invalid IL or missing references)
		//IL_03dc: Unknown result type (might be due to invalid IL or missing references)
		//IL_03e1: Unknown result type (might be due to invalid IL or missing references)
		//IL_03f2: Unknown result type (might be due to invalid IL or missing references)
		//IL_03f7: Unknown result type (might be due to invalid IL or missing references)
		//IL_0408: Unknown result type (might be due to invalid IL or missing references)
		//IL_040d: Unknown result type (might be due to invalid IL or missing references)
		//IL_041e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0423: Unknown result type (might be due to invalid IL or missing references)
		//IL_0434: Unknown result type (might be due to invalid IL or missing references)
		//IL_0439: Unknown result type (might be due to invalid IL or missing references)
		//IL_044a: Unknown result type (might be due to invalid IL or missing references)
		//IL_044f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0461: Unknown result type (might be due to invalid IL or missing references)
		//IL_0466: Unknown result type (might be due to invalid IL or missing references)
		//IL_0478: Unknown result type (might be due to invalid IL or missing references)
		//IL_047d: Unknown result type (might be due to invalid IL or missing references)
		//IL_048c: Unknown result type (might be due to invalid IL or missing references)
		//IL_04b9: Unknown result type (might be due to invalid IL or missing references)
		//IL_04be: Unknown result type (might be due to invalid IL or missing references)
		//IL_04cf: Unknown result type (might be due to invalid IL or missing references)
		//IL_04d4: Unknown result type (might be due to invalid IL or missing references)
		//IL_04e5: Unknown result type (might be due to invalid IL or missing references)
		//IL_04ea: Unknown result type (might be due to invalid IL or missing references)
		//IL_04fb: Unknown result type (might be due to invalid IL or missing references)
		//IL_0500: Unknown result type (might be due to invalid IL or missing references)
		//IL_0511: Unknown result type (might be due to invalid IL or missing references)
		//IL_0516: Unknown result type (might be due to invalid IL or missing references)
		//IL_0527: Unknown result type (might be due to invalid IL or missing references)
		//IL_052c: Unknown result type (might be due to invalid IL or missing references)
		//IL_053d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0542: Unknown result type (might be due to invalid IL or missing references)
		//IL_0553: Unknown result type (might be due to invalid IL or missing references)
		//IL_0558: Unknown result type (might be due to invalid IL or missing references)
		//IL_0569: Unknown result type (might be due to invalid IL or missing references)
		//IL_056e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0580: Unknown result type (might be due to invalid IL or missing references)
		//IL_0585: Unknown result type (might be due to invalid IL or missing references)
		//IL_0597: Unknown result type (might be due to invalid IL or missing references)
		//IL_059c: Unknown result type (might be due to invalid IL or missing references)
		//IL_05ab: Unknown result type (might be due to invalid IL or missing references)
		AssetBundle val = AssetBundle.LoadFromFile(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "AssetBundles/MrMan_man_enemies_SkinAssets"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<CoilheadSkin>("Assets/the cools/coilslend/slenderman.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[11]
		{
			new DefaultSkinConfigEntry("41 Experimentation", 100f),
			new DefaultSkinConfigEntry("220 Assurance", 100f),
			new DefaultSkinConfigEntry("56 Vow", 100f),
			new DefaultSkinConfigEntry("21 Offense", 100f),
			new DefaultSkinConfigEntry("61 March", 100f),
			new DefaultSkinConfigEntry("20 Adamance", 100f),
			new DefaultSkinConfigEntry("85 Rend", 100f),
			new DefaultSkinConfigEntry("7 Dine", 100f),
			new DefaultSkinConfigEntry("8 Titan", 100f),
			new DefaultSkinConfigEntry("68 Artifice", 100f),
			new DefaultSkinConfigEntry("5 Embrion", 100f)
		}, 0f, 0f));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<BarberSkin>("Assets/the cools/barber bald/Bald Jame.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[11]
		{
			new DefaultSkinConfigEntry("41 Experimentation", 100f),
			new DefaultSkinConfigEntry("220 Assurance", 100f),
			new DefaultSkinConfigEntry("56 Vow", 100f),
			new DefaultSkinConfigEntry("21 Offense", 100f),
			new DefaultSkinConfigEntry("61 March", 100f),
			new DefaultSkinConfigEntry("20 Adamance", 100f),
			new DefaultSkinConfigEntry("85 Rend", 100f),
			new DefaultSkinConfigEntry("7 Dine", 100f),
			new DefaultSkinConfigEntry("8 Titan", 100f),
			new DefaultSkinConfigEntry("68 Artifice", 100f),
			new DefaultSkinConfigEntry("5 Embrion", 100f)
		}, 0f, 0f));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<GhostGirlSkin>("Assets/the cools/curse of the walking dog/the curse of the walking dog.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[11]
		{
			new DefaultSkinConfigEntry("41 Experimentation", 100f),
			new DefaultSkinConfigEntry("220 Assurance", 100f),
			new DefaultSkinConfigEntry("56 Vow", 100f),
			new DefaultSkinConfigEntry("21 Offense", 100f),
			new DefaultSkinConfigEntry("61 March", 100f),
			new DefaultSkinConfigEntry("20 Adamance", 100f),
			new DefaultSkinConfigEntry("85 Rend", 100f),
			new DefaultSkinConfigEntry("7 Dine", 100f),
			new DefaultSkinConfigEntry("8 Titan", 100f),
			new DefaultSkinConfigEntry("68 Artifice", 100f),
			new DefaultSkinConfigEntry("5 Embrion", 100f)
		}, 0f, 0f));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<NutcrackerSkin>("Assets/the cools/mancracker/ManShooter.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[11]
		{
			new DefaultSkinConfigEntry("41 Experimentation", 100f),
			new DefaultSkinConfigEntry("220 Assurance", 100f),
			new DefaultSkinConfigEntry("56 Vow", 100f),
			new DefaultSkinConfigEntry("21 Offense", 100f),
			new DefaultSkinConfigEntry("61 March", 100f),
			new DefaultSkinConfigEntry("20 Adamance", 100f),
			new DefaultSkinConfigEntry("85 Rend", 100f),
			new DefaultSkinConfigEntry("7 Dine", 100f),
			new DefaultSkinConfigEntry("8 Titan", 100f),
			new DefaultSkinConfigEntry("68 Artifice", 100f),
			new DefaultSkinConfigEntry("5 Embrion", 100f)
		}, 0f, 0f));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<BrackenSkin>("Assets/the cools/MAN SNAPPER/ManSneaker.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[11]
		{
			new DefaultSkinConfigEntry("41 Experimentation", 100f),
			new DefaultSkinConfigEntry("220 Assurance", 100f),
			new DefaultSkinConfigEntry("56 Vow", 100f),
			new DefaultSkinConfigEntry("21 Offense", 100f),
			new DefaultSkinConfigEntry("61 March", 100f),
			new DefaultSkinConfigEntry("20 Adamance", 100f),
			new DefaultSkinConfigEntry("85 Rend", 100f),
			new DefaultSkinConfigEntry("7 Dine", 100f),
			new DefaultSkinConfigEntry("8 Titan", 100f),
			new DefaultSkinConfigEntry("68 Artifice", 100f),
			new DefaultSkinConfigEntry("5 Embrion", 100f)
		}, 0f, 0f));
	}
}