Decompiled source of A Rather Silly Coil Head v1.2.0

plugins/A_Rather_Silly_Coil_Head/A_Rather_Silly_Coil_Head.dll

Decompiled 2 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[114]
		{
			0, 0, 0, 1, 0, 0, 0, 106, 92, 65,
			115, 115, 101, 116, 115, 92, 65, 95, 82, 97,
			116, 104, 101, 114, 95, 83, 105, 108, 108, 121,
			95, 67, 111, 105, 108, 95, 72, 101, 97, 100,
			83, 116, 97, 103, 105, 110, 103, 92, 112, 108,
			117, 103, 105, 110, 115, 92, 65, 95, 82, 97,
			116, 104, 101, 114, 95, 83, 105, 108, 108, 121,
			95, 67, 111, 105, 108, 95, 72, 101, 97, 100,
			92, 65, 95, 82, 97, 116, 104, 101, 114, 95,
			83, 105, 108, 108, 121, 95, 67, 111, 105, 108,
			95, 72, 101, 97, 100, 80, 108, 117, 103, 105,
			110, 46, 99, 115
		};
		result.TypesData = new byte[83]
		{
			0, 0, 0, 0, 78, 67, 79, 82, 69, 115,
			69, 78, 68, 46, 76, 101, 116, 104, 97, 108,
			67, 111, 109, 112, 97, 110, 121, 46, 65, 95,
			82, 97, 116, 104, 101, 114, 95, 83, 105, 108,
			108, 121, 95, 67, 111, 105, 108, 95, 72, 101,
			97, 100, 124, 65, 95, 82, 97, 116, 104, 101,
			114, 95, 83, 105, 108, 108, 121, 95, 67, 111,
			105, 108, 95, 72, 101, 97, 100, 80, 108, 117,
			103, 105, 110
		};
		result.TotalFiles = 1;
		result.TotalTypes = 1;
		result.IsEditorOnly = false;
		return result;
	}
}
namespace COREsEND.LethalCompany.A_Rather_Silly_Coil_Head;

[BepInPlugin("COREsEND.A_Rather_Silly_Coil_Head", "A_Rather_Silly_Coil_Head", "1.2.0")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class A_Rather_Silly_Coil_HeadPlugin : BaseUnityPlugin
{
	public const string modGUID = "COREsEND.A_Rather_Silly_Coil_Head";

	public const string modName = "A_Rather_Silly_Coil_Head";

	public const string modVersion = "1.2.0";

	private void Awake()
	{
		//IL_003a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0064: Unknown result type (might be due to invalid IL or missing references)
		//IL_008e: Unknown result type (might be due to invalid IL or missing references)
		AssetBundle val = AssetBundle.LoadFromFile(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "AssetBundles/COREsEND_A_Rather_Silly_Coil_Head_SkinAssets"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<CoilheadSkin>("Assets/Popper/PopperCoilheadSkin.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[0], 1f, 1f));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<CoilheadSkin>("Assets/Popper/PopperNoSilly.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[0], 0f, 0f));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<CoilheadSkin>("Assets/Popper/PopperCoilOnly.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[0], 0f, 0f));
	}
}