Class InventoryCache
- java.lang.Object
-
- org.rspeer.game.service.inventory.InventoryCache
-
-
Constructor Summary
Constructors Constructor Description InventoryCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisLoaded(InventoryType type)voidnotify(InventoryEvent event)voidonUnsubscribe()ItemQueryquery()ItemQueryquery(InventoryType type)voidsubmit(InventoryType type, int capacity)voidupdate(RSInventory inventory)-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.rspeer.event.Service
onSubscribe
-
-
-
-
Method Detail
-
submit
public void submit(InventoryType type, int capacity)
-
isLoaded
public boolean isLoaded(InventoryType type)
-
query
public ItemQuery query()
-
query
public ItemQuery query(InventoryType type)
-
update
public void update(RSInventory inventory)
-
notify
public void notify(InventoryEvent event)
-
onUnsubscribe
public void onUnsubscribe()
- Specified by:
onUnsubscribein interfaceService
-
-