Decompiled source of Jacks Lethal Company Skins v1.0.1

plugins/Jacks_Lethal_Company_Skins/Jacks_Lethal_Company_Skins.dll

Decompiled 10 hours 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[120]
		{
			0, 0, 0, 1, 0, 0, 0, 112, 92, 65,
			115, 115, 101, 116, 115, 92, 74, 97, 99, 107,
			115, 95, 76, 101, 116, 104, 97, 108, 95, 67,
			111, 109, 112, 97, 110, 121, 95, 83, 107, 105,
			110, 115, 83, 116, 97, 103, 105, 110, 103, 92,
			112, 108, 117, 103, 105, 110, 115, 92, 74, 97,
			99, 107, 115, 95, 76, 101, 116, 104, 97, 108,
			95, 67, 111, 109, 112, 97, 110, 121, 95, 83,
			107, 105, 110, 115, 92, 74, 97, 99, 107, 115,
			95, 76, 101, 116, 104, 97, 108, 95, 67, 111,
			109, 112, 97, 110, 121, 95, 83, 107, 105, 110,
			115, 80, 108, 117, 103, 105, 110, 46, 99, 115
		};
		result.TypesData = new byte[94]
		{
			0, 0, 0, 0, 89, 74, 97, 99, 107, 100,
			101, 68, 101, 115, 116, 114, 111, 121, 101, 114,
			46, 76, 101, 116, 104, 97, 108, 67, 111, 109,
			112, 97, 110, 121, 46, 74, 97, 99, 107, 115,
			95, 76, 101, 116, 104, 97, 108, 95, 67, 111,
			109, 112, 97, 110, 121, 95, 83, 107, 105, 110,
			115, 124, 74, 97, 99, 107, 115, 95, 76, 101,
			116, 104, 97, 108, 95, 67, 111, 109, 112, 97,
			110, 121, 95, 83, 107, 105, 110, 115, 80, 108,
			117, 103, 105, 110
		};
		result.TotalFiles = 1;
		result.TotalTypes = 1;
		result.IsEditorOnly = false;
		return result;
	}
}
namespace JackdeDestroyer.LethalCompany.Jacks_Lethal_Company_Skins;

[BepInPlugin("JackdeDestroyer.Jacks_Lethal_Company_Skins", "Jacks_Lethal_Company_Skins", "1.0.1")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class Jacks_Lethal_Company_SkinsPlugin : BaseUnityPlugin
{
	public const string modGUID = "JackdeDestroyer.Jacks_Lethal_Company_Skins";

	public const string modName = "Jacks_Lethal_Company_Skins";

	public const string modVersion = "1.0.1";

	private void Awake()
	{
		AssetBundle obj = AssetBundle.LoadFromFile(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "AssetBundles/JackdeDestroyer_Jacks_Lethal_Company_Skins_SkinAssets"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<OldBirdSkin>("Assets/EnemySkins/Labrinthia Skins/OldBirdSkin.asset"));
		EnemySkinRegistry.RegisterNestSkin((NestSkin)(object)obj.LoadAsset<OldBirdSkin>("Assets/EnemySkins/Labrinthia Skins/OldBirdSkin.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<ButlerSkin>("Assets/EnemySkins/Labrinthia Skins/ButlerSkin.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<BarberSkin>("Assets/EnemySkins/Labrinthia Skins/Barber.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<ButlerSkin>("Assets/EnemySkins/Labrinthia Skins/ButlerSkin 4.asset"));
	}
}