Decompiled source of SimpsonsBracken v1.2.3

plugins/SimpsonsBracken/SimpsonsBracken.dll

Decompiled 5 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[87]
		{
			0, 0, 0, 1, 0, 0, 0, 79, 92, 65,
			115, 115, 101, 116, 115, 92, 83, 105, 109, 112,
			115, 111, 110, 115, 66, 114, 97, 99, 107, 101,
			110, 83, 116, 97, 103, 105, 110, 103, 92, 112,
			108, 117, 103, 105, 110, 115, 92, 83, 105, 109,
			112, 115, 111, 110, 115, 66, 114, 97, 99, 107,
			101, 110, 92, 83, 105, 109, 112, 115, 111, 110,
			115, 66, 114, 97, 99, 107, 101, 110, 80, 108,
			117, 103, 105, 110, 46, 99, 115
		};
		result.TypesData = new byte[63]
		{
			0, 0, 0, 0, 58, 76, 97, 117, 114, 97,
			90, 46, 76, 101, 116, 104, 97, 108, 67, 111,
			109, 112, 97, 110, 121, 46, 83, 105, 109, 112,
			115, 111, 110, 115, 66, 114, 97, 99, 107, 101,
			110, 124, 83, 105, 109, 112, 115, 111, 110, 115,
			66, 114, 97, 99, 107, 101, 110, 80, 108, 117,
			103, 105, 110
		};
		result.TotalFiles = 1;
		result.TotalTypes = 1;
		result.IsEditorOnly = false;
		return result;
	}
}
namespace LauraZ.LethalCompany.SimpsonsBracken;

[BepInPlugin("LauraZ.SimpsonsBracken", "SimpsonsBracken", "1.2.3")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class SimpsonsBrackenPlugin : BaseUnityPlugin
{
	public const string modGUID = "LauraZ.SimpsonsBracken";

	public const string modName = "SimpsonsBracken";

	public const string modVersion = "1.2.3";

	private void Awake()
	{
		//IL_003c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0041: Unknown result type (might be due to invalid IL or missing references)
		//IL_0050: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0081: Unknown result type (might be due to invalid IL or missing references)
		//IL_0090: Unknown result type (might be due to invalid IL or missing references)
		//IL_00bc: 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_00d0: Unknown result type (might be due to invalid IL or missing references)
		//IL_00fc: Unknown result type (might be due to invalid IL or missing references)
		//IL_0101: Unknown result type (might be due to invalid IL or missing references)
		//IL_0110: Unknown result type (might be due to invalid IL or missing references)
		//IL_013c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0141: Unknown result type (might be due to invalid IL or missing references)
		//IL_0150: Unknown result type (might be due to invalid IL or missing references)
		//IL_017c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0181: Unknown result type (might be due to invalid IL or missing references)
		//IL_0190: Unknown result type (might be due to invalid IL or missing references)
		//IL_01bc: Unknown result type (might be due to invalid IL or missing references)
		//IL_01c1: Unknown result type (might be due to invalid IL or missing references)
		//IL_01d0: Unknown result type (might be due to invalid IL or missing references)
		//IL_01fc: Unknown result type (might be due to invalid IL or missing references)
		//IL_0201: Unknown result type (might be due to invalid IL or missing references)
		//IL_0210: Unknown result type (might be due to invalid IL or missing references)
		//IL_023c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0241: Unknown result type (might be due to invalid IL or missing references)
		//IL_0250: Unknown result type (might be due to invalid IL or missing references)
		//IL_027c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0281: Unknown result type (might be due to invalid IL or missing references)
		//IL_0290: Unknown result type (might be due to invalid IL or missing references)
		//IL_02bc: Unknown result type (might be due to invalid IL or missing references)
		//IL_02c1: Unknown result type (might be due to invalid IL or missing references)
		//IL_02d0: Unknown result type (might be due to invalid IL or missing references)
		//IL_02fc: Unknown result type (might be due to invalid IL or missing references)
		//IL_0301: Unknown result type (might be due to invalid IL or missing references)
		//IL_0310: Unknown result type (might be due to invalid IL or missing references)
		AssetBundle val = AssetBundle.LoadFromFile(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "AssetBundles/LauraZ_SimpsonsBracken_SkinAssets"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<BrackenSkin>("Assets/SkinsSimpson/Bart/BartConquerant/BartConquerantBrackenSkin.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[1]
		{
			new DefaultSkinConfigEntry("56 Vow", 100f)
		}, 0.01f, 0f));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<BrackenSkin>("Assets/SkinsSimpson/Bart/ShyBart/ShyBartBrackenSkin.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[1]
		{
			new DefaultSkinConfigEntry("85 Rend", 100f)
		}, 0.01f, 0f));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<BrackenSkin>("Assets/SkinsSimpson/Bart/SpaceBart/SpaceBartBrackenSkin.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[1]
		{
			new DefaultSkinConfigEntry("5 Embrion", 100f)
		}, 0.01f, 0f));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<BrackenSkin>("Assets/SkinsSimpson/Abraham/ArbahamVieuxCon/AbrahamVieuxConBrackenSkin.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[1]
		{
			new DefaultSkinConfigEntry("68 Artifice", 100f)
		}, 0.01f, 0f));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<BrackenSkin>("Assets/SkinsSimpson/Abraham/AbrahamMiskine/AbrahamMiskineBrackenSkin.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[1]
		{
			new DefaultSkinConfigEntry("06 Ratus City", 100f)
		}, 1f, 0f));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<BrackenSkin>("Assets/SkinsSimpson/Chief Wiggum/Wiggum Flemmard/WiggumFlemmardBrackenSkin.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[1]
		{
			new DefaultSkinConfigEntry("61 March", 100f)
		}, 0.01f, 0f));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<BrackenSkin>("Assets/SkinsSimpson/Chief Wiggum/Wiggum Justicier/WiggumJusticierBrackenSkin.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[1]
		{
			new DefaultSkinConfigEntry("7 Dine", 100f)
		}, 0.01f, 0f));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<BrackenSkin>("Assets/SkinsSimpson/Chief Wiggum/Wiggum Speedfreak/WiggumSpeedfreakBrackenSkin.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[1]
		{
			new DefaultSkinConfigEntry("20 Adamance", 100f)
		}, 0.01f, 0f));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<BrackenSkin>("Assets/SkinsSimpson/Dr. Frink/Frink Criar/FrinkCriarBrackenSkin.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[1]
		{
			new DefaultSkinConfigEntry("8 Titan", 100f)
		}, 0.01f, 0f));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<BrackenSkin>("Assets/SkinsSimpson/Dr. Frink/Frink La Merde/FrinkLaMerdeBrackenSkin.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[1]
		{
			new DefaultSkinConfigEntry("21 Offense", 100f)
		}, 0.01f, 0f));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<BrackenSkin>("Assets/SkinsSimpson/Agnes/AgnesBrackenSkin.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[1]
		{
			new DefaultSkinConfigEntry("220 Assurance", 100f)
		}, 0.01f, 0f));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<BrackenSkin>("Assets/SkinsSimpson/Barney/BarneyBrackenSkin.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[1]
		{
			new DefaultSkinConfigEntry("41 Experimentation", 100f)
		}, 0.01f, 0f));
	}
}