Decompiled source of KirbyRobobot OldBird v0.0.1

plugins/KirbyRobobot_OldBird/KirbyRobobot_OldBird.dll

Decompiled 3 days 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, 75, 105, 114, 98,
			121, 82, 111, 98, 111, 98, 111, 116, 95, 79,
			108, 100, 66, 105, 114, 100, 83, 116, 97, 103,
			105, 110, 103, 92, 112, 108, 117, 103, 105, 110,
			115, 92, 75, 105, 114, 98, 121, 82, 111, 98,
			111, 98, 111, 116, 95, 79, 108, 100, 66, 105,
			114, 100, 92, 75, 105, 114, 98, 121, 82, 111,
			98, 111, 98, 111, 116, 95, 79, 108, 100, 66,
			105, 114, 100, 80, 108, 117, 103, 105, 110, 46,
			99, 115
		};
		result.TypesData = new byte[76]
		{
			0, 0, 0, 0, 71, 84, 111, 110, 121, 80,
			105, 122, 122, 97, 46, 76, 101, 116, 104, 97,
			108, 67, 111, 109, 112, 97, 110, 121, 46, 75,
			105, 114, 98, 121, 82, 111, 98, 111, 98, 111,
			116, 95, 79, 108, 100, 66, 105, 114, 100, 124,
			75, 105, 114, 98, 121, 82, 111, 98, 111, 98,
			111, 116, 95, 79, 108, 100, 66, 105, 114, 100,
			80, 108, 117, 103, 105, 110
		};
		result.TotalFiles = 1;
		result.TotalTypes = 1;
		result.IsEditorOnly = false;
		return result;
	}
}
namespace TonyPizza.LethalCompany.KirbyRobobot_OldBird;

[BepInPlugin("TonyPizza.KirbyRobobot", "KirbyRobobot_OldBird", "0.0.1")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class KirbyRobobot_OldBirdPlugin : BaseUnityPlugin
{
	public const string modGUID = "TonyPizza.KirbyRobobot";

	public const string modName = "KirbyRobobot_OldBird";

	public const string modVersion = "0.0.1";

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