Enum MenuOpcode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<MenuOpcode>

    public enum MenuOpcode
    extends java.lang.Enum<MenuOpcode>
    • Enum Constant Detail

      • COMPONENT_TARGET_ON_GAME_OBJECT

        public static final MenuOpcode COMPONENT_TARGET_ON_GAME_OBJECT
      • GAME_OBJECT_FIRST_OPTION

        public static final MenuOpcode GAME_OBJECT_FIRST_OPTION
      • GAME_OBJECT_SECOND_OPTION

        public static final MenuOpcode GAME_OBJECT_SECOND_OPTION
      • GAME_OBJECT_THIRD_OPTION

        public static final MenuOpcode GAME_OBJECT_THIRD_OPTION
      • GAME_OBJECT_FOURTH_OPTION

        public static final MenuOpcode GAME_OBJECT_FOURTH_OPTION
      • GAME_OBJECT_FIFTH_OPTION

        public static final MenuOpcode GAME_OBJECT_FIFTH_OPTION
      • COMPONENT_TARGET_ON_NPC

        public static final MenuOpcode COMPONENT_TARGET_ON_NPC
      • NPC_FIRST_OPTION

        public static final MenuOpcode NPC_FIRST_OPTION
      • NPC_SECOND_OPTION

        public static final MenuOpcode NPC_SECOND_OPTION
      • NPC_THIRD_OPTION

        public static final MenuOpcode NPC_THIRD_OPTION
      • NPC_FOURTH_OPTION

        public static final MenuOpcode NPC_FOURTH_OPTION
      • NPC_FIFTH_OPTION

        public static final MenuOpcode NPC_FIFTH_OPTION
      • COMPONENT_TARGET_ON_GROUND_ITEM

        public static final MenuOpcode COMPONENT_TARGET_ON_GROUND_ITEM
      • GROUND_ITEM_FIRST_OPTION

        public static final MenuOpcode GROUND_ITEM_FIRST_OPTION
      • GROUND_ITEM_SECOND_OPTION

        public static final MenuOpcode GROUND_ITEM_SECOND_OPTION
      • GROUND_ITEM_THIRD_OPTION

        public static final MenuOpcode GROUND_ITEM_THIRD_OPTION
      • GROUND_ITEM_FOURTH_OPTION

        public static final MenuOpcode GROUND_ITEM_FOURTH_OPTION
      • GROUND_ITEM_FIFTH_OPTION

        public static final MenuOpcode GROUND_ITEM_FIFTH_OPTION
      • COMPONENT_TYPE_1

        public static final MenuOpcode COMPONENT_TYPE_1
      • COMPONENT_TARGET

        public static final MenuOpcode COMPONENT_TARGET
      • COMPONENT_CLOSE

        public static final MenuOpcode COMPONENT_CLOSE
      • COMPONENT_TYPE_4

        public static final MenuOpcode COMPONENT_TYPE_4
      • COMPONENT_TYPE_5

        public static final MenuOpcode COMPONENT_TYPE_5
      • COMPONENT_CONTINUE

        public static final MenuOpcode COMPONENT_CONTINUE
      • COMPONENT_FIRST_OPTION

        public static final MenuOpcode COMPONENT_FIRST_OPTION
      • COMPONENT_SECOND_OPTION

        public static final MenuOpcode COMPONENT_SECOND_OPTION
      • COMPONENT_THIRD_OPTION

        public static final MenuOpcode COMPONENT_THIRD_OPTION
      • COMPONENT_FOURTH_OPTION

        public static final MenuOpcode COMPONENT_FOURTH_OPTION
      • COMPONENT_FIFTH_OPTION

        public static final MenuOpcode COMPONENT_FIFTH_OPTION
      • COMPONENT_TARGET_ON_PLAYER

        public static final MenuOpcode COMPONENT_TARGET_ON_PLAYER
      • PLAYER_FIRST_OPTION

        public static final MenuOpcode PLAYER_FIRST_OPTION
      • PLAYER_SECOND_OPTION

        public static final MenuOpcode PLAYER_SECOND_OPTION
      • PLAYER_THIRD_OPTION

        public static final MenuOpcode PLAYER_THIRD_OPTION
      • PLAYER_FOURTH_OPTION

        public static final MenuOpcode PLAYER_FOURTH_OPTION
      • PLAYER_FIFTH_OPTION

        public static final MenuOpcode PLAYER_FIFTH_OPTION
      • PLAYER_SIXTH_OPTION

        public static final MenuOpcode PLAYER_SIXTH_OPTION
      • PLAYER_SEVENTH_OPTION

        public static final MenuOpcode PLAYER_SEVENTH_OPTION
      • PLAYER_EIGHTH_OPTION

        public static final MenuOpcode PLAYER_EIGHTH_OPTION
      • CC_OP

        public static final MenuOpcode CC_OP
        normal priority child component actions.
      • COMPONENT_TARGET_ON_COMPONENT

        public static final MenuOpcode COMPONENT_TARGET_ON_COMPONENT
      • EXAMINE_OBJECT

        public static final MenuOpcode EXAMINE_OBJECT
      • EXAMINE_NPC

        public static final MenuOpcode EXAMINE_NPC
      • EXAMINE_ITEM_GROUND

        public static final MenuOpcode EXAMINE_ITEM_GROUND
      • CC_OP_LOW_PRIORITY

        public static final MenuOpcode CC_OP_LOW_PRIORITY
    • Method Detail

      • values

        public static MenuOpcode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MenuOpcode c : MenuOpcode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MenuOpcode valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getId

        public int getId()
      • getPlayerOpcode

        public static MenuOpcode getPlayerOpcode​(java.util.function.Predicate<java.lang.String> filter)
      • getPlayerOpcode

        public static MenuOpcode getPlayerOpcode​(java.util.regex.Pattern pattern)
      • getPlayerOpcode

        public static MenuOpcode getPlayerOpcode​(java.lang.String action)
      • getPlayerOpcode

        public static MenuOpcode getPlayerOpcode​(int action)
      • getNpcOpcode

        public static MenuOpcode getNpcOpcode​(Npc npc,
                                              java.util.function.Predicate<java.lang.String> filter)
      • getNpcOpcode

        public static MenuOpcode getNpcOpcode​(Npc npc,
                                              java.util.regex.Pattern pattern)
      • getNpcOpcode

        public static MenuOpcode getNpcOpcode​(Npc npc,
                                              java.lang.String action)
      • getNpcOpcode

        public static MenuOpcode getNpcOpcode​(int action)
      • getGroundItemOpcode

        @Nullable
        public static @Nullable MenuOpcode getGroundItemOpcode​(GroundItem item,
                                                               java.util.function.Predicate<java.lang.String> filter)
      • getGroundItemOpcode

        public static MenuOpcode getGroundItemOpcode​(GroundItem item,
                                                     java.util.regex.Pattern pattern)
      • getGroundItemOpcode

        public static MenuOpcode getGroundItemOpcode​(GroundItem item,
                                                     java.lang.String action)
      • getGroundItemOpcode

        public static MenuOpcode getGroundItemOpcode​(int action)
      • getGameObjectOpcode

        public static MenuOpcode getGameObjectOpcode​(GameObject item,
                                                     java.util.regex.Pattern pattern)
      • getGameObjectOpcode

        public static MenuOpcode getGameObjectOpcode​(GameObject item,
                                                     java.lang.String action)
      • getGameObjectOpcode

        @Nullable
        public static @Nullable MenuOpcode getGameObjectOpcode​(GameObject object,
                                                               java.util.function.Predicate<java.lang.String> filter)
      • getGameObjectOpcode

        public static MenuOpcode getGameObjectOpcode​(int action)
      • getComponentMenuIdentifier

        public static int getComponentMenuIdentifier​(InterfaceComponent item,
                                                     java.util.regex.Pattern pattern)
      • getComponentMenuIdentifier

        public static int getComponentMenuIdentifier​(InterfaceComponent item,
                                                     java.lang.String action)
      • getComponentMenuIdentifier

        public static int getComponentMenuIdentifier​(InterfaceComponent component,
                                                     java.util.function.Predicate<java.lang.String> filter)
      • getComponentMenuIdentifier

        public static int getComponentMenuIdentifier​(@NonNull
                                                     @NonNull InterfaceComponent component,
                                                     int actionIndex)
      • getItemActionIndex

        public static int getItemActionIndex​(InterfaceComponent item,
                                             java.util.regex.Pattern pattern)
      • getItemActionIndex

        public static int getItemActionIndex​(InterfaceComponent item,
                                             java.lang.String action)
      • getItemActionIndex

        public static int getItemActionIndex​(InterfaceComponent object,
                                             java.util.function.Predicate<java.lang.String> filter)