Decompiled source of Webley Pyramid Skin Mod v1.0.0

plugins/WebleyPyramidSkinMod/WebleyPyramidSkinMod.dll

Decompiled a month 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[102]
		{
			0, 0, 0, 1, 0, 0, 0, 94, 92, 65,
			115, 115, 101, 116, 115, 92, 87, 101, 98, 108,
			101, 121, 80, 121, 114, 97, 109, 105, 100, 83,
			107, 105, 110, 77, 111, 100, 83, 116, 97, 103,
			105, 110, 103, 92, 112, 108, 117, 103, 105, 110,
			115, 92, 87, 101, 98, 108, 101, 121, 80, 121,
			114, 97, 109, 105, 100, 83, 107, 105, 110, 77,
			111, 100, 92, 87, 101, 98, 108, 101, 121, 80,
			121, 114, 97, 109, 105, 100, 83, 107, 105, 110,
			77, 111, 100, 80, 108, 117, 103, 105, 110, 46,
			99, 115
		};
		result.TypesData = new byte[72]
		{
			0, 0, 0, 0, 67, 78, 105, 107, 107, 105,
			46, 76, 101, 116, 104, 97, 108, 67, 111, 109,
			112, 97, 110, 121, 46, 87, 101, 98, 108, 101,
			121, 80, 121, 114, 97, 109, 105, 100, 83, 107,
			105, 110, 77, 111, 100, 124, 87, 101, 98, 108,
			101, 121, 80, 121, 114, 97, 109, 105, 100, 83,
			107, 105, 110, 77, 111, 100, 80, 108, 117, 103,
			105, 110
		};
		result.TotalFiles = 1;
		result.TotalTypes = 1;
		result.IsEditorOnly = false;
		return result;
	}
}
namespace Nikki.LethalCompany.WebleyPyramidSkinMod;

[BepInPlugin("nikki.lethalcompany.webleypyramidskinmod", "WebleyPyramidSkinMod", "1.0.0")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class WebleyPyramidSkinModPlugin : BaseUnityPlugin
{
	public const string modGUID = "nikki.lethalcompany.webleypyramidskinmod";

	public const string modName = "WebleyPyramidSkinMod";

	public const string modVersion = "1.0.0";

	private void Awake()
	{
		//IL_003b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0040: Unknown result type (might be due to invalid IL or missing references)
		//IL_0051: Unknown result type (might be due to invalid IL or missing references)
		//IL_0056: Unknown result type (might be due to invalid IL or missing references)
		//IL_0067: Unknown result type (might be due to invalid IL or missing references)
		//IL_006c: Unknown result type (might be due to invalid IL or missing references)
		//IL_007d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0082: Unknown result type (might be due to invalid IL or missing references)
		//IL_0093: Unknown result type (might be due to invalid IL or missing references)
		//IL_0098: Unknown result type (might be due to invalid IL or missing references)
		//IL_00a9: Unknown result type (might be due to invalid IL or missing references)
		//IL_00ae: Unknown result type (might be due to invalid IL or missing references)
		//IL_00bf: Unknown result type (might be due to invalid IL or missing references)
		//IL_00c4: Unknown result type (might be due to invalid IL or missing references)
		//IL_00d5: Unknown result type (might be due to invalid IL or missing references)
		//IL_00da: Unknown result type (might be due to invalid IL or missing references)
		//IL_00eb: Unknown result type (might be due to invalid IL or missing references)
		//IL_00f0: Unknown result type (might be due to invalid IL or missing references)
		//IL_0102: Unknown result type (might be due to invalid IL or missing references)
		//IL_0107: Unknown result type (might be due to invalid IL or missing references)
		//IL_0119: Unknown result type (might be due to invalid IL or missing references)
		//IL_011e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0130: Unknown result type (might be due to invalid IL or missing references)
		//IL_0135: Unknown result type (might be due to invalid IL or missing references)
		//IL_0147: Unknown result type (might be due to invalid IL or missing references)
		//IL_014c: Unknown result type (might be due to invalid IL or missing references)
		//IL_015b: Unknown result type (might be due to invalid IL or missing references)
		EnemySkinRegistry.RegisterSkin((Skin)(object)AssetBundle.LoadFromFile(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "AssetBundles/Nikki_WebleyPyramidSkinMod_SkinAssets")).LoadAsset<GhostGirlSkin>("Assets/WebleyPyramid/WebleyPyramidSkin.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[13]
		{
			new DefaultSkinConfigEntry("57 Asteroid-13", 100f),
			new DefaultSkinConfigEntry("84 Junic", 100f),
			new DefaultSkinConfigEntry("44 Atlantica", 100f),
			new DefaultSkinConfigEntry("36 Gloom", 100f),
			new DefaultSkinConfigEntry("46 Infernis", 100f),
			new DefaultSkinConfigEntry("147 Gratar", 100f),
			new DefaultSkinConfigEntry("48 Desolation", 100f),
			new DefaultSkinConfigEntry("76 Acidir", 100f),
			new DefaultSkinConfigEntry("25 Fission-C", 100f),
			new DefaultSkinConfigEntry("94 Polarus", 100f),
			new DefaultSkinConfigEntry("134 Oldred", 100f),
			new DefaultSkinConfigEntry("154 Etern", 100f),
			new DefaultSkinConfigEntry("42 Cosmocos", 100f)
		}, 0f, 0f));
	}
}