Class WidgetConfig

    • Field Detail

      • SHOW_MENU_OPTION_NINE

        public static final int SHOW_MENU_OPTION_NINE
        Enables displaying a ninth option on a menu.
        See Also:
        Constant Field Values
      • USE_GROUND_ITEM

        public static final int USE_GROUND_ITEM
        Can this widget be used on a item on the floor
        See Also:
        Constant Field Values
      • USE_NPC

        public static final int USE_NPC
        Can this widget be used on a NPC
        See Also:
        Constant Field Values
      • USE_OBJECT

        public static final int USE_OBJECT
        Can this widget be used on a game object
        See Also:
        Constant Field Values
      • USE_PLAYER

        public static final int USE_PLAYER
        Can this widget be used on a player
        See Also:
        Constant Field Values
      • USE_WIDGET

        public static final int USE_WIDGET
        Can this widget be used on a widget with the WIDGET_USE_TARGET flag
        See Also:
        Constant Field Values
      • DRAG

        public static final int DRAG
        Controls whether this widget can be dragged around.
        See Also:
        Constant Field Values
      • DRAG_ON

        public static final int DRAG_ON
        Controls whether this widget can have other widgets dragged onto it.
        See Also:
        Constant Field Values
      • WIDGET_USE_TARGET

        public static final int WIDGET_USE_TARGET
        Can widgets with USE_WIDGET be used on this widget
        See Also:
        Constant Field Values
    • Constructor Detail

      • WidgetConfig

        public WidgetConfig()
    • Method Detail

      • transmitAction

        public static int transmitAction​(int action)
        Does the action (zero bosed) get transmitted to the server when clicked