Decompiled source of CodyBracken v0.0.1

plugins/CodyBracken/CodyBracken.dll

Decompiled 4 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[75]
		{
			0, 0, 0, 1, 0, 0, 0, 67, 92, 65,
			115, 115, 101, 116, 115, 92, 67, 111, 100, 121,
			66, 114, 97, 99, 107, 101, 110, 83, 116, 97,
			103, 105, 110, 103, 92, 112, 108, 117, 103, 105,
			110, 115, 92, 67, 111, 100, 121, 66, 114, 97,
			99, 107, 101, 110, 92, 67, 111, 100, 121, 66,
			114, 97, 99, 107, 101, 110, 80, 108, 117, 103,
			105, 110, 46, 99, 115
		};
		result.TypesData = new byte[60]
		{
			0, 0, 0, 0, 55, 68, 101, 99, 111, 100,
			105, 110, 97, 116, 111, 114, 46, 76, 101, 116,
			104, 97, 108, 67, 111, 109, 112, 97, 110, 121,
			46, 67, 111, 100, 121, 66, 114, 97, 99, 107,
			101, 110, 124, 67, 111, 100, 121, 66, 114, 97,
			99, 107, 101, 110, 80, 108, 117, 103, 105, 110
		};
		result.TotalFiles = 1;
		result.TotalTypes = 1;
		result.IsEditorOnly = false;
		return result;
	}
}
namespace Decodinator.LethalCompany.CodyBracken;

[BepInPlugin("decodinator.lethalcompany.codybracken", "CodyBracken", "0.0.1")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class CodyBrackenPlugin : BaseUnityPlugin
{
	public const string modGUID = "decodinator.lethalcompany.codybracken";

	public const string modName = "CodyBracken";

	public const string modVersion = "0.0.1";

	private void Awake()
	{
		EnemySkinRegistry.RegisterSkin((Skin)(object)AssetBundle.LoadFromFile(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "AssetBundles/Decodinator_CodyBracken_SkinAssets")).LoadAsset<BrackenSkin>("Assets/CodyBrackenSkin.asset"));
	}
}