rithik-b_LeaderboardCore/LeaderboardCore/HarmonyPatches/PanelView_Show.cs
using HarmonyLib;
using System;
using System.Reflection;

namespace LeaderboardCore.HarmonyPatches
{
    [HarmonyPatch]
    internal class PanelView_Show
    {
		public static event Action ViewActivated;
		private static MethodBase TargetMethod() => 
			Plugin.Instance.scoreSaber.Assembly.GetType("ScoreSaber.UI.Leaderboard.PanelView").GetMethod("Show", BindingFlags.Instance | BindingFlags.Public);

		private static void Postfix()
		{
			ViewActivated?.Invoke();
		}
	}
}
