Class ItemContainer


  • public class ItemContainer
    extends java.lang.Object
    ItemContainer node, contains a list of items Examples of ItemContainers are Bank, Inventory, Equipment Known ID's can be found at ItemContainerId This will not set Item.getDestination() when building the items
    • Constructor Summary

      Constructors 
      Constructor Description
      ItemContainer​(org.dreambot.internal.injector.interfaces.RSItemNode reference, int containerId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getContainerId()  
      java.util.List<Item> getItems()
      Gets the items in this item container Does not add empty slots to the list Does not set item destinations
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ItemContainer

        public ItemContainer​(org.dreambot.internal.injector.interfaces.RSItemNode reference,
                             int containerId)
    • Method Detail

      • getItems

        public java.util.List<Item> getItems()
        Gets the items in this item container Does not add empty slots to the list Does not set item destinations
        Returns:
      • getContainerId

        public int getContainerId()