Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Decompiled source of RunicStorage HideQuickStackRules v1.2.1
BepInEx\plugins\RunicStorage_HideQuickStackRules.dll
Decompiled 2 weeks agousing System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using BepInEx; using Microsoft.CodeAnalysis; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] [assembly: AssemblyCompany("RunicStorage_HideQuickStackRules")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("RunicStorage_HideQuickStackRules")] [assembly: AssemblyTitle("RunicStorage_HideQuickStackRules")] [assembly: AssemblyVersion("1.0.0.0")] [module: RefSafetyRules(11)] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Embedded] [AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)] internal sealed class RefSafetyRulesAttribute : Attribute { public readonly int Version; public RefSafetyRulesAttribute(int P_0) { Version = P_0; } } } namespace RunicStorage_HideQuickStackRules { [BepInPlugin("diegopho13.runicstorage.hidequickstackrules", "RunicStorage Hide Quick Stack Rules", "1.2.1")] public class Plugin : BaseUnityPlugin { private GameObject target; private CanvasGroup canvasGroup; private float nextScan; private void Update() { if ((Object)(object)target != (Object)null || Time.unscaledTime < nextScan) { return; } nextScan = Time.unscaledTime + 2f; GameObject[] array = Resources.FindObjectsOfTypeAll<GameObject>(); foreach (GameObject val in array) { if ((Object)(object)val == (Object)null || ((Object)val).name != "RunicQuickStackRules") { continue; } Transform parent = val.transform.parent; if (!((Object)(object)parent == (Object)null) && !(((Object)parent).name != "Container")) { target = val; canvasGroup = target.GetComponent<CanvasGroup>(); if ((Object)(object)canvasGroup == (Object)null) { canvasGroup = target.AddComponent<CanvasGroup>(); } canvasGroup.alpha = 0f; canvasGroup.interactable = false; canvasGroup.blocksRaycasts = false; break; } } } } }