Decompiled source of BRUTE Old Bird v1.1.0

plugins/BRUTE_Old_Bird/BRUTE_Old_Bird.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[84]
		{
			0, 0, 0, 1, 0, 0, 0, 76, 92, 65,
			115, 115, 101, 116, 115, 92, 66, 82, 85, 84,
			69, 95, 79, 108, 100, 95, 66, 105, 114, 100,
			83, 116, 97, 103, 105, 110, 103, 92, 112, 108,
			117, 103, 105, 110, 115, 92, 66, 82, 85, 84,
			69, 95, 79, 108, 100, 95, 66, 105, 114, 100,
			92, 66, 82, 85, 84, 69, 95, 79, 108, 100,
			95, 66, 105, 114, 100, 80, 108, 117, 103, 105,
			110, 46, 99, 115
		};
		result.TypesData = new byte[72]
		{
			0, 0, 0, 0, 67, 70, 105, 115, 115, 105,
			111, 110, 77, 101, 116, 114, 111, 105, 100, 49,
			48, 49, 46, 76, 101, 116, 104, 97, 108, 67,
			111, 109, 112, 97, 110, 121, 46, 66, 82, 85,
			84, 69, 95, 79, 108, 100, 95, 66, 105, 114,
			100, 124, 66, 82, 85, 84, 69, 95, 79, 108,
			100, 95, 66, 105, 114, 100, 80, 108, 117, 103,
			105, 110
		};
		result.TotalFiles = 1;
		result.TotalTypes = 1;
		result.IsEditorOnly = false;
		return result;
	}
}
namespace FissionMetroid101.LethalCompany.BRUTE_Old_Bird;

[BepInPlugin("FissionMetroid101.BRUTEOldBird", "BRUTE_Old_Bird", "1.1.0")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class BRUTE_Old_BirdPlugin : BaseUnityPlugin
{
	public const string modGUID = "FissionMetroid101.BRUTEOldBird";

	public const string modName = "BRUTE_Old_Bird";

	public const string modVersion = "1.1.0";

	private void Awake()
	{
		AssetBundle obj = AssetBundle.LoadFromFile(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "AssetBundles/FissionMetroid101_BRUTE_Old_Bird_SkinAssets"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<OldBirdSkin>("Assets/BRUTE/BRUTEReplace.asset"));
		EnemySkinRegistry.RegisterNestSkin((NestSkin)(object)obj.LoadAsset<OldBirdSkin>("Assets/BRUTE/BRUTEReplace.asset"));
	}
}