using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using BepInEx.Configuration; using HarmonyLib; 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("EverythingV4")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("EverythingV4")] [assembly: AssemblyCopyright("Copyright © 2026")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("e2edd2b2-4629-4566-bc93-45a32dfa5b04")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] [BepInPlugin("TheDriftDimension.everythingmod", "Everything", "2.0.7")] public class Everything : BaseUnityPlugin { [HarmonyPatch(typeof(ShopManager), "UpgradeValueGet")] public class UpgradeValueGetPatch { private static bool Prefix(ref float __result) { __result = 1f; return false; } } [HarmonyPatch(typeof(ShopManager), "HealthPackValueGet")] public class HealthPackValueGetPatch { private static bool Prefix(ref float __result) { __result = 1f; return false; } } [HarmonyPatch(typeof(ShopManager), "CrystalValueGet")] public class CrystalValueGetPatch { private static bool Prefix(ref float __result) { __result = 1f; return false; } } private ConfigEntry spawnKey; private bool menuOpen = false; private void Awake() { //IL_0028: Unknown result type (might be due to invalid IL or missing references) //IL_002e: Expected O, but got Unknown spawnKey = ((BaseUnityPlugin)this).Config.Bind("General", "Spawn Key", (KeyCode)50, "Key to spawn money"); Harmony val = new Harmony("TheDriftDimension.everythingmod"); val.PatchAll(); ((BaseUnityPlugin)this).Logger.LogInfo((object)"Who Dares to Summon Everything?!"); } private void Update() { if (Input.GetKeyDown((KeyCode)290)) { menuOpen = !menuOpen; ((BaseUnityPlugin)this).Logger.LogInfo((object)("Menu: " + menuOpen)); } } private void OnGUI() { //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_0047: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_008f: Unknown result type (might be due to invalid IL or missing references) if (menuOpen) { GUI.Box(new Rect(20f, 20f, 250f, 200f), "Everything Menu"); GUI.Label(new Rect(40f, 60f, 200f, 30f), "1 - Add Money"); GUI.Label(new Rect(40f, 90f, 200f, 30f), "2 - Ghost Mode"); GUI.Label(new Rect(40f, 120f, 200f, 30f), "3 - Speed"); } } } namespace Everything101; [BepInPlugin("Everything", "Everything", "1.0.0")] public class a : BaseUnityPlugin { private void Awake() { ((BaseUnityPlugin)this).Logger.LogInfo((object)"The Mod 'Everything' Has Loaded!"); } private void Update() { } }