Decompiled source of NoRightLines v1.0.0

NoRightLines.dll

Decompiled 6 months ago
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
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: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
[assembly: AssemblyCompany("NoRightLines")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyDescription("Remove right lines in song select in trombone champ")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("NoRightLines")]
[assembly: AssemblyTitle("NoRightLines")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
namespace NoRightLines;

[BepInPlugin("NoRightLines", "NoRightLines", "1.0.0")]
public class Plugin : BaseUnityPlugin
{
	[HarmonyPatch(typeof(LevelSelectController), "Start")]
	public static class LevelSelectControllerStartPatches
	{
		public static void Postfix()
		{
			GameObject.Find("MainCanvas/FullScreenPanel/GameButtonsPanel/RightLines").SetActive(false);
		}
	}

	private void Awake()
	{
		//IL_0005: Unknown result type (might be due to invalid IL or missing references)
		new Harmony("NoRightLines").PatchAll();
	}
}
public static class PluginInfo
{
	public const string PLUGIN_GUID = "NoRightLines";

	public const string PLUGIN_NAME = "NoRightLines";

	public const string PLUGIN_VERSION = "1.0.0";
}