using System; using System.Runtime.CompilerServices; namespace Server.Engines.Help; public static class HelpEvents { public static event Action PageEnqueued; [MethodImpl(MethodImplOptions.AggressiveInlining)] public static void InvokePageEnqueued(PageEntry e) => PageEnqueued?.Invoke(e); public static event Action PageRemoved; [MethodImpl(MethodImplOptions.AggressiveInlining)] public static void InvokePageRemoved(PageEntry e) => PageRemoved?.Invoke(e); public static event Action PageHandlerChanged; [MethodImpl(MethodImplOptions.AggressiveInlining)] public static void InvokePageHandlerChanged(Mobile old, Mobile value, PageEntry e) => PageHandlerChanged?.Invoke(old, value, e); public static event Action PageWaiting; [MethodImpl(MethodImplOptions.AggressiveInlining)] public static void InvokePageWaiting(PageEntry e) => PageWaiting?.Invoke(e); public static event Action StuckMenu; [MethodImpl(MethodImplOptions.AggressiveInlining)] public static void InvokeStuckMenu(Mobile m) => StuckMenu?.Invoke(m); }