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 boolean
isLoaded(InventoryType type)
void
notify(InventoryEvent event)
void
onUnsubscribe()
ItemQuery
query()
ItemQuery
query(InventoryType type)
void
submit(InventoryType type, int capacity)
void
update(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:
onUnsubscribe
in interfaceService
-
-