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;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: AssemblyTitle("DisableScanner")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("ReviOS 11 24.12")]
[assembly: AssemblyProduct("DisableScanner")]
[assembly: AssemblyCopyright("Copyright © ReviOS 11 24.12 2025")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("de0ad798-5b67-46a3-b057-20f78d0a6c0d")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace DisableScanner
{
[BepInPlugin("FluxTeam.DisableScanner", "Disable Scanner", "1.0.0")]
public class Plugin : BaseUnityPlugin
{
internal static ManualLogSource Log;
private readonly Harmony harmony = new Harmony("FluxTeam.DisableScanner");
private void Awake()
{
Log = ((BaseUnityPlugin)this).Logger;
harmony.PatchAll();
Log.LogInfo((object)"DisableScanner loaded – scanner and highlighting disabled.");
}
}
}
namespace DisableScanner.Patches
{
[HarmonyPatch(typeof(ValuableObject), "DiscoverReminderLogic")]
internal static class Patch_DiscoverReminderLogic
{
[HarmonyPrefix]
private static bool Prefix()
{
return false;
}
}
[HarmonyPatch(typeof(ValuableObject), "Discover")]
internal static class Patch_ValuableObject_Discover
{
[HarmonyPrefix]
private static bool Prefix()
{
return false;
}
}
}