Class RSItem

  • All Implemented Interfaces:
    java.io.Serializable

    public class RSItem
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • RSItem

        public RSItem​(RSItem.Type type,
                      int index,
                      int quantity,
                      int id)
      • RSItem

        public RSItem​(RSItem.Type type,
                      net.runelite.api.widgets.Widget widget)
    • Method Detail

      • getClickbox

        @Nullable
        public java.awt.Rectangle getClickbox()
      • getWidget

        @Nullable
        public @Nullable RSWidget getWidget()
      • getClickablePoint

        @Nullable
        public java.awt.Point getClickablePoint()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • highlight

        public void highlight()
      • doAction

        public boolean doAction​(@Nonnull
                                java.lang.String action)
      • interact

        public boolean interact()
      • interact

        public boolean interact​(@Nonnull
                                java.lang.String action)
      • drop

        public boolean drop()
      • use

        public boolean use()
      • doUse

        public boolean doUse()
      • doUseWith

        public boolean doUseWith​(@Nonnull
                                 RSItem rsi)
      • hover

        public boolean hover()
      • useWith

        public boolean useWith​(@Nonnull
                               RSItem rsi)
      • useWith

        public boolean useWith​(@Nonnull
                               RSLoot rsl)
      • useWith

        public boolean useWith​(@Nonnull
                               RSObject rso)
      • useWith

        public boolean useWith​(@Nonnull
                               RSActor rsa)
      • getActions

        @Nullable
        public @Nullable java.lang.String[] getActions()
      • getName

        @Nonnull
        public java.lang.String getName()
      • getMembersName

        @Nonnull
        public java.lang.String getMembersName()
      • getId

        public int getId()
      • getNote

        public int getNote()
      • getLinkedNoteId

        public int getLinkedNoteId()
      • getPlaceholderId

        public int getPlaceholderId()
      • getPlaceholderTemplateId

        public int getPlaceholderTemplateId()
      • getStorePrice

        public int getStorePrice()
      • getHaPrice

        public int getHaPrice()
      • getExchangePrice

        public int getExchangePrice()
      • isMembers

        public boolean isMembers()
      • isStackable

        public boolean isStackable()
      • isTradeable

        public boolean isTradeable()
      • getInventoryActions

        public java.lang.String[] getInventoryActions()
      • getShiftClickActionIndex

        public int getShiftClickActionIndex()
      • getInventoryModel

        public int getInventoryModel()