Package net.eternalclient.api.containers
Class ItemContainerCache.State
- java.lang.Object
-
- net.eternalclient.api.containers.ItemContainerCache.State
-
- Enclosing class:
- ItemContainerCache
public class ItemContainerCache.State extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description booleancachedintcapacityItemContainerCacheinstancenet.eternalclient.api.data.InventoryIDinventoryIDItem[]itemCacheItem[]prevItemCachebooleanupdatingintusedCapacity
-
Constructor Summary
Constructors Constructor Description State()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCapacity()ItemContainerCachegetInstance()net.eternalclient.api.data.InventoryIDgetInventoryID()Item[]getItemCache()Item[]getPrevItemCache()intgetUsedCapacity()booleanisCached()booleanisUpdating()voidsetCached(boolean cached)voidsetCapacity(int capacity)voidsetInstance(ItemContainerCache instance)voidsetInventoryID(net.eternalclient.api.data.InventoryID inventoryID)voidsetItemCache(Item[] itemCache)voidsetPrevItemCache(Item[] prevItemCache)voidsetUpdating(boolean updating)voidsetUsedCapacity(int usedCapacity)
-
-
-
Field Detail
-
instance
public ItemContainerCache instance
-
inventoryID
public net.eternalclient.api.data.InventoryID inventoryID
-
capacity
public int capacity
-
usedCapacity
public int usedCapacity
-
itemCache
public Item[] itemCache
-
prevItemCache
public Item[] prevItemCache
-
cached
public boolean cached
-
updating
public boolean updating
-
-
Method Detail
-
getInstance
public ItemContainerCache getInstance()
-
getInventoryID
public net.eternalclient.api.data.InventoryID getInventoryID()
-
getCapacity
public int getCapacity()
-
getUsedCapacity
public int getUsedCapacity()
-
getItemCache
public Item[] getItemCache()
-
getPrevItemCache
public Item[] getPrevItemCache()
-
isCached
public boolean isCached()
-
isUpdating
public boolean isUpdating()
-
setInstance
public void setInstance(ItemContainerCache instance)
-
setInventoryID
public void setInventoryID(net.eternalclient.api.data.InventoryID inventoryID)
-
setCapacity
public void setCapacity(int capacity)
-
setUsedCapacity
public void setUsedCapacity(int usedCapacity)
-
setItemCache
public void setItemCache(Item[] itemCache)
-
setPrevItemCache
public void setPrevItemCache(Item[] prevItemCache)
-
setCached
public void setCached(boolean cached)
-
setUpdating
public void setUpdating(boolean updating)
-
-