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 LCMODLargerScanRadius.Patches;
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("LCMODLargerScanRadius")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("LCMODLargerScanRadius")]
[assembly: AssemblyCopyright("Copyright © 2024")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("eb5b0f3b-a353-4dbf-8322-c4489fc906ad")]
[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 LCMODLargerScanRadius
{
[BepInPlugin("UnscriptedLogic.LargerScanMod", "Larger Scan Radius", "1.0.0.0")]
public class LargerScanMod : BaseUnityPlugin
{
private const string modGUID = "UnscriptedLogic.LargerScanMod";
private const string modName = "Larger Scan Radius";
private const string modVersion = "1.0.0.0";
private readonly Harmony harmony = new Harmony("UnscriptedLogic.LargerScanMod");
private static LargerScanMod Instance;
internal ManualLogSource mls;
private void Awake()
{
if ((Object)(object)Instance == (Object)null)
{
Instance = this;
}
mls = Logger.CreateLogSource("UnscriptedLogic.LargerScanMod");
mls.LogInfo((object)"Booting up larger scan radius for your asian eyes");
harmony.PatchAll(typeof(LargerScanMod));
harmony.PatchAll(typeof(HUDManagerPatch));
mls.LogInfo((object)"Larger Scan mod patch complete!");
}
}
}
namespace LCMODLargerScanRadius.Patches
{
[HarmonyPatch(typeof(HUDManager))]
internal class HUDManagerPatch
{
[HarmonyPatch("MeetsScanNodeRequirements")]
[HarmonyPostfix]
private static void MeetsScanNodeRequirementsOverride(ref bool __result)
{
__result = true;
}
}
}