Decompiled source of Heavy Tf2 Maneater v0.0.1

plugins/Heavy_Tf2_Maneater/Heavy_Tf2_Maneater.dll

Decompiled 11 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[96]
		{
			0, 0, 0, 1, 0, 0, 0, 88, 92, 65,
			115, 115, 101, 116, 115, 92, 72, 101, 97, 118,
			121, 95, 84, 102, 50, 95, 77, 97, 110, 101,
			97, 116, 101, 114, 83, 116, 97, 103, 105, 110,
			103, 92, 112, 108, 117, 103, 105, 110, 115, 92,
			72, 101, 97, 118, 121, 95, 84, 102, 50, 95,
			77, 97, 110, 101, 97, 116, 101, 114, 92, 72,
			101, 97, 118, 121, 95, 84, 102, 50, 95, 77,
			97, 110, 101, 97, 116, 101, 114, 80, 108, 117,
			103, 105, 110, 46, 99, 115
		};
		result.TypesData = new byte[78]
		{
			0, 0, 0, 0, 73, 97, 108, 111, 97, 102,
			111, 102, 98, 114, 101, 97, 100, 52, 50, 48,
			46, 76, 101, 116, 104, 97, 108, 67, 111, 109,
			112, 97, 110, 121, 46, 72, 101, 97, 118, 121,
			95, 84, 102, 50, 95, 77, 97, 110, 101, 97,
			116, 101, 114, 124, 72, 101, 97, 118, 121, 95,
			84, 102, 50, 95, 77, 97, 110, 101, 97, 116,
			101, 114, 80, 108, 117, 103, 105, 110
		};
		result.TotalFiles = 1;
		result.TotalTypes = 1;
		result.IsEditorOnly = false;
		return result;
	}
}
namespace aloafofbread420.LethalCompany.Heavy_Tf2_Maneater;

[BepInPlugin("aloafofbread420.HeavyTf2Maneater", "Heavy_Tf2_Maneater", "0.0.1")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class Heavy_Tf2_ManeaterPlugin : BaseUnityPlugin
{
	public const string modGUID = "aloafofbread420.HeavyTf2Maneater";

	public const string modName = "Heavy_Tf2_Maneater";

	public const string modVersion = "0.0.1";

	private void Awake()
	{
		//IL_003a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0064: Unknown result type (might be due to invalid IL or missing references)
		AssetBundle val = AssetBundle.LoadFromFile(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "AssetBundles/aloafofbread420_Heavy_Tf2_Maneater_SkinAssets"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<ManeaterSkin>("Assets/HeavyTf2Maneater/ManeaterHeavyTf2/Hoovy.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[0], 1f, 1f));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<ManeaterSkin>("Assets/HeavyTf2Maneater/ManeaterHeavyTf2/defaultfellah.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[0], 1f, 1f));
	}
}