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 boolean
cached
int
capacity
ItemContainerCache
instance
net.eternalclient.api.data.InventoryID
inventoryID
Item[]
itemCache
Item[]
prevItemCache
boolean
updating
int
usedCapacity
-
Constructor Summary
Constructors Constructor Description State()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCapacity()
ItemContainerCache
getInstance()
net.eternalclient.api.data.InventoryID
getInventoryID()
Item[]
getItemCache()
Item[]
getPrevItemCache()
int
getUsedCapacity()
boolean
isCached()
boolean
isUpdating()
void
setCached(boolean cached)
void
setCapacity(int capacity)
void
setInstance(ItemContainerCache instance)
void
setInventoryID(net.eternalclient.api.data.InventoryID inventoryID)
void
setItemCache(Item[] itemCache)
void
setPrevItemCache(Item[] prevItemCache)
void
setUpdating(boolean updating)
void
setUsedCapacity(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)
-
-