using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
using HarmonyLib;
using ReservedItemSlotCore;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: AssemblyTitle("ReservedKeySlot")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ReservedKeySlot")]
[assembly: AssemblyCopyright("Copyright © 2024")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("0991307b-80e1-40b9-b8f5-14a5a87aa7b5")]
[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 ReservedKeySlot;
public static class PluginInfo
{
public const string PLUGIN_GUID = "Rogue.ReservedKeySlot";
public const string PLUGIN_NAME = "ReservedKeySlot";
public const string PLUGIN_VERSION = "1.0.4";
}
[BepInPlugin("Rogue.ReservedKeySlot", "ReservedKeySlot", "1.0.3")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
internal class Plugin : BaseUnityPlugin
{
public static Plugin instance;
private Harmony _harmony;
public static ReservedItemInfo KeyInfo = new ReservedItemInfo("Key", -40, false, false, false, false);
public static ReservedItemInfo LockpickerInfo = new ReservedItemInfo("Lockpicker", -40, false, false, false, false);
private void Awake()
{
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0017: Expected O, but got Unknown
instance = this;
_harmony = new Harmony("ReservedKeySlot");
_harmony.PatchAll();
((BaseUnityPlugin)this).Logger.LogInfo((object)"ReservedKeySlot loaded");
}
public static void Log(string message)
{
((BaseUnityPlugin)instance).Logger.LogInfo((object)message);
}
}