Decompiled source of ToolshelfAnarchy v2.0.0

plugins/ToolshelfAnarchy/ToolshelfAnarchy.dll

Decompiled 14 hours ago
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BepInEx;
using BepInEx.Logging;
using BepInEx.NET.Common;
using BepInExResoniteShim;
using FrooxEngine;
using HarmonyLib;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(/*Could not decode attribute arguments.*/)]
[assembly: TargetFramework(".NETCoreApp,Version=v10.0", FrameworkDisplayName = ".NET 10.0")]
[assembly: AssemblyCompany("art0007i")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyFileVersion("2.0.0.0")]
[assembly: AssemblyInformationalVersion("2.0.0+a9c546552dfd4dd202b4e67c0752774e3ca30a7c")]
[assembly: AssemblyProduct("ToolshelfAnarchy")]
[assembly: AssemblyTitle("ToolshelfAnarchy")]
[assembly: AssemblyMetadata("RepositoryUrl", "https://github.com/art0007i/ToolshelfAnarchy")]
[assembly: AssemblyVersion("2.0.0.0")]
[module: RefSafetyRules(11)]
namespace ToolshelfAnarchy;

[ResonitePlugin("art0007i.ToolshelfAnarchy", "ToolshelfAnarchy", "2.0.0", "art0007i", "https://github.com/art0007i/ToolshelfAnarchy")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class Plugin : BasePlugin
{
	[HarmonyPatch(typeof(InteractionHandler))]
	[HarmonyPatch("ItemShelfFilter")]
	private class InteractionHandler_ItemShelfFilter_Patch
	{
		public static bool Prefix(ref bool __result)
		{
			__result = true;
			return false;
		}
	}

	internal static ManualLogSource Log;

	public override void Load()
	{
		Log = ((BasePlugin)this).Log;
		((BasePlugin)this).HarmonyInstance.PatchAll();
	}
}
public static class PluginMetadata
{
	public const string GUID = "art0007i.ToolshelfAnarchy";

	public const string NAME = "ToolshelfAnarchy";

	public const string VERSION = "2.0.0";

	public const string AUTHORS = "art0007i";

	public const string REPOSITORY_URL = "https://github.com/art0007i/ToolshelfAnarchy";
}