using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
using LethalLib.Modules;
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("LethalTess")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("LethalTess")]
[assembly: AssemblyCopyright("Copyright © 2024")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("efb97642-4114-4967-9687-366d461fe680")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace SneakoChair;
[BepInPlugin("DesperateDinosaur.SneakoChair", "SneakoChair", "1.0.2")]
public class Plugin : BaseUnityPlugin
{
private const string GUID = "DesperateDinosaur.SneakoChair";
private const string NAME = "SneakoChair";
private const string VERSION = "1.0.2";
public static Plugin instance;
private void Awake()
{
instance = this;
string text = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "sneakochairmod");
AssetBundle val = AssetBundle.LoadFromFile(text);
UnlockablesList val2 = val.LoadAsset<UnlockablesList>("Assets/Custom Objects/sneako_chair/sneako_chair_unlockables.asset");
UnlockableItem val3 = val2.unlockables[0];
TerminalNodesList val4 = val.LoadAsset<TerminalNodesList>("Assets/Custom Objects/sneako_chair/SneakoNodes.asset");
int num = 75;
NetworkPrefabs.RegisterNetworkPrefab(val3.prefabObject);
Utilities.FixMixerGroups(val3.prefabObject);
Unlockables.RegisterUnlockable(val3, (StoreType)2, val4.terminalNodes[0], val4.terminalNodes[1], val4.terminalNodes[2], num);
((BaseUnityPlugin)this).Logger.LogInfo((object)"Loaded Item sneakoChair");
}
}