Decompiled source of Perry the Snare Flea v1.4.2

plugins/Perry_the_Snare_Flea/Perry_The_Snare_Flea.dll

Decompiled 9 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[102]
		{
			0, 0, 0, 1, 0, 0, 0, 94, 92, 65,
			115, 115, 101, 116, 115, 92, 80, 101, 114, 114,
			121, 95, 116, 104, 101, 95, 83, 110, 97, 114,
			101, 95, 70, 108, 101, 97, 83, 116, 97, 103,
			105, 110, 103, 92, 112, 108, 117, 103, 105, 110,
			115, 92, 80, 101, 114, 114, 121, 95, 116, 104,
			101, 95, 83, 110, 97, 114, 101, 95, 70, 108,
			101, 97, 92, 80, 101, 114, 114, 121, 95, 84,
			104, 101, 95, 83, 110, 97, 114, 101, 95, 70,
			108, 101, 97, 80, 108, 117, 103, 105, 110, 46,
			99, 115
		};
		result.TypesData = new byte[78]
		{
			0, 0, 0, 0, 73, 75, 101, 101, 103, 101,
			114, 119, 111, 99, 107, 121, 46, 76, 101, 116,
			104, 97, 108, 67, 111, 109, 112, 97, 110, 121,
			46, 80, 101, 114, 114, 121, 95, 84, 104, 101,
			95, 83, 110, 97, 114, 101, 95, 70, 108, 101,
			97, 124, 80, 101, 114, 114, 121, 95, 84, 104,
			101, 95, 83, 110, 97, 114, 101, 95, 70, 108,
			101, 97, 80, 108, 117, 103, 105, 110
		};
		result.TotalFiles = 1;
		result.TotalTypes = 1;
		result.IsEditorOnly = false;
		return result;
	}
}
namespace Keegerwocky.LethalCompany.Perry_The_Snare_Flea;

[BepInPlugin("lethalcompany.wheresperry.snareflea", "Perry_the_Snare_Flea", "1.4.2")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class Perry_The_Snare_FleaPlugin : BaseUnityPlugin
{
	public const string modGUID = "lethalcompany.wheresperry.snareflea";

	public const string modName = "Perry_the_Snare_Flea";

	public const string modVersion = "1.4.2";

	private void Awake()
	{
		EnemySkinRegistry.RegisterSkin((Skin)(object)AssetBundle.LoadFromFile(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "AssetBundles/Keegerwocky_Perry_the_Snare_Flea_SkinAssets")).LoadAsset<SnareFleaSkin>("Assets/EnemySkinKit/SnareFlea/Perry The Platypus/AgentPSkin.asset"));
	}
}