Decompiled source of Salmonid Entities v1.3.1

plugins/Salmonid_Entities/Salmonid_Entities.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[93]
		{
			0, 0, 0, 1, 0, 0, 0, 85, 92, 65,
			115, 115, 101, 116, 115, 92, 83, 97, 108, 109,
			111, 110, 105, 100, 95, 69, 110, 116, 105, 116,
			105, 101, 115, 83, 116, 97, 103, 105, 110, 103,
			92, 112, 108, 117, 103, 105, 110, 115, 92, 83,
			97, 108, 109, 111, 110, 105, 100, 95, 69, 110,
			116, 105, 116, 105, 101, 115, 92, 83, 97, 108,
			109, 111, 110, 105, 100, 95, 69, 110, 116, 105,
			116, 105, 101, 115, 80, 108, 117, 103, 105, 110,
			46, 99, 115
		};
		result.TypesData = new byte[78]
		{
			0, 0, 0, 0, 73, 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, 83, 97, 108,
			109, 111, 110, 105, 100, 95, 69, 110, 116, 105,
			116, 105, 101, 115, 124, 83, 97, 108, 109, 111,
			110, 105, 100, 95, 69, 110, 116, 105, 116, 105,
			101, 115, 80, 108, 117, 103, 105, 110
		};
		result.TotalFiles = 1;
		result.TotalTypes = 1;
		result.IsEditorOnly = false;
		return result;
	}
}
namespace FissionMetroid101.LethalCompany.Salmonid_Entities;

[BepInPlugin("FissionMetroid101.Salmonid_Entities", "Salmonid_Entities", "1.3.1")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class Salmonid_EntitiesPlugin : BaseUnityPlugin
{
	public const string modGUID = "FissionMetroid101.Salmonid_Entities";

	public const string modName = "Salmonid_Entities";

	public const string modVersion = "1.3.1";

	private void Awake()
	{
		//IL_006a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0224: Unknown result type (might be due to invalid IL or missing references)
		AssetBundle val = AssetBundle.LoadFromFile(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "AssetBundles/FissionMetroid101_Salmonid_Entities_SkinAssets"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<GhostGirlSkin>("Assets/SWOLE/SWOLETARIAN 1.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<GhostGirlSkin>("Assets/SWOLE/SWOLETARIAN 2.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<GhostGirlSkin>("Assets/SWOLE/SWOLETARIAN 3.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<SnareFleaSkin>("Assets/Salmonid/Flea/FlipperReplacer.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[0], 0f, 0f));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<HoarderBugSkin>("Assets/Salmonid/HoardingBug/SnatcherReplacer.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<EarthLeviathanSkin>("Assets/Salmonid/EarthLeviathan/HorrorborosReplacer.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<ButlerSkin>("Assets/Salmonid/Butler/CohockReplacer.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<ThumperSkin>("Assets/Salmonid/Thumper/ScrapperReplacer.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<EyelessDogSkin>("Assets/Salmonid/EyelessDog/SteelheadReplacer.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<ForestKeeperSkin>("Assets/Salmonid/ForestGiant/MudmouthReplacerTest.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<BaboonHawkSkin>("Assets/Salmonid/BaboonHawk/GoldieReplacer.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<BunkerSpiderSkin>("Assets/Salmonid/Spider/GrillerReplacer.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<SporeLizardSkin>("Assets/Salmonid/Spore Lizard/DrizzlerReplacement.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<BrackenSkin>("Assets/Salmonid/Bracken/BigShotReplacer.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<NutcrackerSkin>("Assets/Salmonid/Nutcracker/StingerReplacer.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<JesterSkin>("Assets/Salmonid/Jester/HugefryReplacer.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<HygrodereSkin>("Assets/Salmonid/Blob/MawsGoopReplacer.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<CoilheadSkin>("Assets/Salmonid/Coilhead/SmallfryMechReplacement.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<OldBirdSkin>("Assets/Salmonid/OldBird/AbsoluteUnit1.asset"));
		EnemySkinRegistry.RegisterNestSkin((NestSkin)(object)val.LoadAsset<OldBirdSkin>("Assets/Salmonid/OldBird/AbsoluteUnit1.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<OldBirdSkin>("Assets/Salmonid/OldBird/AbsoluteUnit2.asset"));
		EnemySkinRegistry.RegisterNestSkin((NestSkin)(object)val.LoadAsset<OldBirdSkin>("Assets/Salmonid/OldBird/AbsoluteUnit2.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<OldBirdSkin>("Assets/Salmonid/OldBird/AbsoluteUnit3.asset"));
		EnemySkinRegistry.RegisterNestSkin((NestSkin)(object)val.LoadAsset<OldBirdSkin>("Assets/Salmonid/OldBird/AbsoluteUnit3.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<OldBirdSkin>("Assets/Salmonid/OldBird/AbsoluteUnit4.asset"));
		EnemySkinRegistry.RegisterNestSkin((NestSkin)(object)val.LoadAsset<OldBirdSkin>("Assets/Salmonid/OldBird/AbsoluteUnit4.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<BarberSkin>("Assets/Salmonid/Barber/SlamminLidReplacement.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<KidnapperFoxSkin>("Assets/Salmonid/KidnapperFox/FlipperFlopperFoxReplacement.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<ManticoilSkin>("Assets/Salmonid/Manticoil/SeagullReplacer.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<SnareFleaSkin>("Assets/Salmonid/Flea2/MudmouthSalmonid.asset"), (DefaultSkinConfigData?)new DefaultSkinConfigData((DefaultSkinConfigEntry[])(object)new DefaultSkinConfigEntry[0], 1f, 0f));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<TulipSnakeSkin>("Assets/Salmonid/TulipSnake/FishStickSmallfry.asset"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)val.LoadAsset<ManeaterSkin>("Assets/Salmonid/Maneater/CQCumber.asset"));
	}
}