using System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using BepInEx; using BepInEx.NET.Common; using BepInExResoniteShim; using BepisResoniteWrapper; using FrooxEngine; [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("LeCloutPanda")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0+7e39c38060081a1ff2abc2e4a236c216b112c92f")] [assembly: AssemblyProduct("NoResonite")] [assembly: AssemblyTitle("NoResonite")] [assembly: AssemblyMetadata("RepositoryUrl", "https://github.com/lecloutpanda/NoResonite")] [assembly: AssemblyVersion("1.0.0.0")] [module: RefSafetyRules(11)] namespace NoResonite; [ResonitePlugin("dev.lecloutpanda.NoResonite", "NoResonite", "1.0.0", "LeCloutPanda", "https://github.com/lecloutpanda/NoResonite")] [BepInDependency(/*Could not decode attribute arguments.*/)] public class Plugin : BasePlugin { [Serializable] [CompilerGenerated] private sealed class <>c { public static readonly <>c <>9 = new <>c(); public static Action <>9__0_0; internal void b__0_0() { Engine.Current.RequestShutdown(); } } public override void Load() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_001f: Expected O, but got Unknown object obj = <>c.<>9__0_0; if (obj == null) { Action val = delegate { Engine.Current.RequestShutdown(); }; <>c.<>9__0_0 = val; obj = (object)val; } ResoniteHooks.OnEngineReady += (Action)obj; } } public static class PluginMetadata { public const string GUID = "dev.lecloutpanda.NoResonite"; public const string NAME = "NoResonite"; public const string VERSION = "1.0.0"; public const string AUTHORS = "LeCloutPanda"; public const string REPOSITORY_URL = "https://github.com/lecloutpanda/NoResonite"; }