Decompiled source of scout tf2 ghost v0.0.7

plugins/scout_tf2_ghost/scout_Tf2_Ghost.dll

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

[BepInPlugin("aloafofbread.scouttf2hauntsyou", "scout_tf2_ghost", "0.0.7")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class scout_Tf2_GhostPlugin : BaseUnityPlugin
{
	public const string modGUID = "aloafofbread.scouttf2hauntsyou";

	public const string modName = "scout_tf2_ghost";

	public const string modVersion = "0.0.7";

	private void Awake()
	{
		EnemySkinRegistry.RegisterSkin((Skin)(object)AssetBundle.LoadFromFile(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "AssetBundles/aloafofbread_scout_tf2_ghost_SkinAssets")).LoadAsset<GhostGirlSkin>("Assets/funnytest/BallsofSteel/IAMDASCOUTHERE.asset"));
	}
}