Class MenuManager


  • @Singleton
    public class MenuManager
    extends Object
    • Method Detail

      • addManagedCustomMenu

        public void addManagedCustomMenu​(WidgetMenuOption customMenuOption)
        Adds a CustomMenuOption to the list of managed menu options.
        Parameters:
        customMenuOption - The custom menu to add
      • removeManagedCustomMenu

        public void removeManagedCustomMenu​(WidgetMenuOption customMenuOption)
        Removes a CustomMenuOption from the list of managed menu options.
        Parameters:
        customMenuOption - The custom menu to add
      • onMenuEntryAdded

        @Subscribe
        public void onMenuEntryAdded​(net.runelite.api.events.MenuEntryAdded event)
      • addPlayerMenuItem

        public void addPlayerMenuItem​(String menuText)
      • removePlayerMenuItem

        public void removePlayerMenuItem​(String menuText)
      • onPlayerMenuOptionsChanged

        @Subscribe
        public void onPlayerMenuOptionsChanged​(net.runelite.api.events.PlayerMenuOptionsChanged event)
      • onNpcActionChanged

        @Subscribe
        public void onNpcActionChanged​(net.runelite.api.events.NpcActionChanged event)
      • onMenuOptionClicked

        @Subscribe
        public void onMenuOptionClicked​(net.runelite.api.events.MenuOptionClicked event)