Class ItemContainer
- java.lang.Object
-
- org.dreambot.api.methods.container.general.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 atItemContainerId
This will not setItem.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
-
-
-
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()
-
-