Decompiled source of Bydgoszcz Company v1.0.1

plugins/Bydgoszcz_Company/Bydgoszcz_Company.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, 66, 121, 100, 103,
			111, 115, 122, 99, 122, 95, 67, 111, 109, 112,
			97, 110, 121, 83, 116, 97, 103, 105, 110, 103,
			92, 112, 108, 117, 103, 105, 110, 115, 92, 66,
			121, 100, 103, 111, 115, 122, 99, 122, 95, 67,
			111, 109, 112, 97, 110, 121, 92, 66, 121, 100,
			103, 111, 115, 122, 99, 122, 95, 67, 111, 109,
			112, 97, 110, 121, 80, 108, 117, 103, 105, 110,
			46, 99, 115
		};
		result.TypesData = new byte[68]
		{
			0, 0, 0, 0, 63, 75, 105, 109, 105, 99,
			104, 105, 46, 76, 101, 116, 104, 97, 108, 67,
			111, 109, 112, 97, 110, 121, 46, 66, 121, 100,
			103, 111, 115, 122, 99, 122, 95, 67, 111, 109,
			112, 97, 110, 121, 124, 66, 121, 100, 103, 111,
			115, 122, 99, 122, 95, 67, 111, 109, 112, 97,
			110, 121, 80, 108, 117, 103, 105, 110
		};
		result.TotalFiles = 1;
		result.TotalTypes = 1;
		result.IsEditorOnly = false;
		return result;
	}
}
namespace Kimichi.LethalCompany.Bydgoszcz_Company;

[BepInPlugin("Kimichi.Bydgoszcz_Company", "Bydgoszcz_Company", "1.0.1")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class Bydgoszcz_CompanyPlugin : BaseUnityPlugin
{
	public const string modGUID = "Kimichi.Bydgoszcz_Company";

	public const string modName = "Bydgoszcz_Company";

	public const string modVersion = "1.0.1";

	private void Awake()
	{
		AssetBundle obj = AssetBundle.LoadFromFile(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "AssetBundles/Kimichi_Bydgoszcz_Company_SkinAssets"));
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<GhostGirlSkin>("Assets/ghost girl/GhostGirlSkin.asset"), (DefaultSkinConfigData?)null);
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<OldBirdSkin>("Assets/OLD BIRD/OldBirdSkin.asset"), (DefaultSkinConfigData?)null);
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<SnareFleaSkin>("Assets/snare flea/SnareFleaSkin.asset"), (DefaultSkinConfigData?)null);
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<BaboonHawkSkin>("Assets/baboon hawk/BaboonHawkSkin.asset"), (DefaultSkinConfigData?)null);
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<HoarderBugSkin>("Assets/yippee/HoarderBugSkin.asset"), (DefaultSkinConfigData?)null);
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<CoilheadSkin>("Assets/coilhead/CoilheadSkin.asset"), (DefaultSkinConfigData?)null);
		EnemySkinRegistry.RegisterSkin((Skin)(object)obj.LoadAsset<BrackenSkin>("Assets/bracken/BrackenSkin.asset"), (DefaultSkinConfigData?)null);
	}
}