Decompiled source of SheldonsMod v1.1.0

BepInEx/plugins/LCSheldoodler.dll

Decompiled a year ago
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
using BepInEx.Logging;
using HarmonyLib;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: AssemblyTitle("LCSheldoodler")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("LCSheldoodler")]
[assembly: AssemblyCopyright("Copyright ©  2023")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("1780e7f9-1d2f-4b56-9732-3f4358c1f84a")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace LCSheldoodler;

[BepInPlugin("ShelMod.66502e6e-fb27-4df1-8abb-5c1c81655534", "Sheldons Mod", "1.0.0")]
public class ModBase : BaseUnityPlugin
{
	private const string modGuid = "ShelMod.66502e6e-fb27-4df1-8abb-5c1c81655534";

	private const string modName = "Sheldons Mod";

	private const string modVersion = "1.0.0";

	private readonly Harmony harmony = new Harmony("ShelMod.66502e6e-fb27-4df1-8abb-5c1c81655534");

	private static ModBase Instance;

	internal ManualLogSource logger;

	private void Awake()
	{
		if ((Object)(object)Instance == (Object)null)
		{
			Instance = this;
		}
		logger = Logger.CreateLogSource("ShelMod.66502e6e-fb27-4df1-8abb-5c1c81655534");
		logger.LogInfo((object)"Awake - Setting up logging");
		harmony.PatchAll(typeof(ModBase));
	}
}