Decompiled source of Teraphobia mode v1.0.0

plugins/Teraphobia_mode/Teraphobia_Mode.dll

Decompiled 3 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[87]
		{
			0, 0, 0, 1, 0, 0, 0, 79, 92, 65,
			115, 115, 101, 116, 115, 92, 84, 101, 114, 97,
			112, 104, 111, 98, 105, 97, 95, 109, 111, 100,
			101, 83, 116, 97, 103, 105, 110, 103, 92, 112,
			108, 117, 103, 105, 110, 115, 92, 84, 101, 114,
			97, 112, 104, 111, 98, 105, 97, 95, 109, 111,
			100, 101, 92, 84, 101, 114, 97, 112, 104, 111,
			98, 105, 97, 95, 77, 111, 100, 101, 80, 108,
			117, 103, 105, 110, 46, 99, 115
		};
		result.TypesData = new byte[74]
		{
			0, 0, 0, 0, 69, 114, 97, 110, 100, 111,
			109, 95, 65, 120, 111, 108, 111, 116, 108, 50,
			53, 56, 46, 76, 101, 116, 104, 97, 108, 67,
			111, 109, 112, 97, 110, 121, 46, 84, 101, 114,
			97, 112, 104, 111, 98, 105, 97, 95, 77, 111,
			100, 101, 124, 84, 101, 114, 97, 112, 104, 111,
			98, 105, 97, 95, 77, 111, 100, 101, 80, 108,
			117, 103, 105, 110
		};
		result.TotalFiles = 1;
		result.TotalTypes = 1;
		result.IsEditorOnly = false;
		return result;
	}
}
namespace random_Axolotl258.LethalCompany.Teraphobia_Mode;

[BepInPlugin("random_axolotl258.lethalcompany.Teraphobia_mode", "Teraphobia_mode", "1.0.0")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class Teraphobia_ModePlugin : BaseUnityPlugin
{
	public const string modGUID = "random_axolotl258.lethalcompany.Teraphobia_mode";

	public const string modName = "Teraphobia_mode";

	public const string modVersion = "1.0.0";

	private void Awake()
	{
		AssetBundle obj = AssetBundle.LoadFromFile(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "AssetBundles/random_axolotl258_Teraphobia_mode_SkinAssets"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<CoilheadSkin>("Assets/EnemySkins/MySkinMod/My Coilhead Skin.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<BarberSkin>("Assets/EnemySkins/MySkinMod/BarberSkin.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<OldBirdSkin>("Assets/EnemySkins/MySkinMod/OldBirdSkin.asset"));
		EnemySkinRegistry.RegisterNestSkin((NestSkin)(object)obj.LoadAsset<OldBirdSkin>("Assets/EnemySkins/MySkinMod/OldBirdSkin.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<BrackenSkin>("Assets/EnemySkins/MySkinMod/BrackenSkin.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<HoarderBugSkin>("Assets/EnemySkins/MySkinMod/HoarderBugSkin.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<ButlerSkin>("Assets/EnemySkins/MySkinMod/ButlerSkin.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<NutcrackerSkin>("Assets/EnemySkins/MySkinMod/NutcrackerSkin.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<EyelessDogSkin>("Assets/EnemySkins/MySkinMod/EyelessDogSkin.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<SnareFleaSkin>("Assets/EnemySkins/MySkinMod/SnareFleaSkin.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<ForestKeeperSkin>("Assets/EnemySkins/MySkinMod/ForestKeeperSkin.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<GhostGirlSkin>("Assets/EnemySkins/MySkinMod/GhostGirlSkin.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<BaboonHawkSkin>("Assets/EnemySkins/MySkinMod/BaboonHawkSkin.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<JesterSkin>("Assets/EnemySkins/MySkinMod/JesterSkin.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<SporeLizardSkin>("Assets/EnemySkins/MySkinMod/SporeLizardSkin.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<TulipSnakeSkin>("Assets/EnemySkins/MySkinMod/TulipSnakeSkin.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<HygrodereSkin>("Assets/EnemySkins/MySkinMod/HygrodereSkin.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<ManticoilSkin>("Assets/EnemySkins/MySkinMod/ManticoilSkin.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<EarthLeviathanSkin>("Assets/EnemySkins/MySkinMod/EarthLeviathanSkin.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<ThumperSkin>("Assets/EnemySkins/MySkinMod/ThumperSkin.asset"));
	}
}