Uses of Class
org.starhope.appius.game.inventory.InventoryItem

Packages that use InventoryItem
org.starhope.appius.game   
org.starhope.appius.game.inventory   
org.starhope.appius.game.inventory.collections   
org.starhope.appius.game.inventory.effects   
org.starhope.appius.user   
org.starhope.appius.user.events   
 

Uses of InventoryItem in org.starhope.appius.game
 

Methods in org.starhope.appius.game that return types with arguments of type InventoryItem
(package private)  Collection<InventoryItem> Room.getActiveDecorations_private()
          get the decorations active (placed) in a room, which is a room from an user's house (therefore drawn from the user's inventory)
(package private)  Collection<InventoryItem> Room.getActiveDecorations_public()
          Get the decorations active (placed) in a room, which is a public room not owned by a particular user.
 Collection<InventoryItem> Room.getActiveDecorations()
          get the decorations active (placed) in a room
 

Uses of InventoryItem in org.starhope.appius.game.inventory
 

Fields in org.starhope.appius.game.inventory declared as InventoryItem
protected  InventoryItem ItemEffects.item
          The inventory item from which these effects are emitted
 

Fields in org.starhope.appius.game.inventory with type parameters of type InventoryItem
private  WeakHashMap<InventoryItem,ItemEffects> ItemEffectsType.fxLib
          Caché of instantiated item effects for various items, set up such that they should expire when the items are unloaded from core by virtue of their weak references.
(package private)  ConcurrentSkipListSet<InventoryItem> Inventory.items
          The internal cache of the user's inventory is kept in this set
 

Methods in org.starhope.appius.game.inventory that return InventoryItem
 InventoryItem Inventory.add(int itemID)
          WRITEME: Document this method brpocock@star-hope.org
 InventoryItem Inventory.addDefaultFreeItem(int i)
           
 InventoryItem Inventory.addDefaultFreeItem(int id, boolean forceActive)
          Add an item which every user gets for free to the user's inventory, if it does not already exist.
 InventoryItem Inventory.findItem(int id)
          Checks if an item with the ID of parameter id is contained in the set, and if so, returns it.
 InventoryItem Inventory.getActiveItemByType(InventoryItemType inventoryItemType)
          Find a singular active item of a type.
static InventoryItem InventoryItem.getByID(int idByWhichToGet)
          get the inventory item with the given inventory slot ID
static InventoryItem InventoryItem.getByID(RecordLoader<InventoryItem> loader, int idByWhichToGet)
          Get an inventory item based upon the database ID
 InventoryItem Inventory.getFurnitureBySlot(int slotNumber)
          Get a home décor (furniture or structure) item from this user's inventory by its slot number.
 InventoryItem ItemEffects.getItem()
           
 InventoryItem InventoryItemSQLLoader.loadRecord(int id)
           
 InventoryItem InventoryItemSQLLoader.loadRecord(String identifier)
           
 

Methods in org.starhope.appius.game.inventory that return types with arguments of type InventoryItem
 Collection<InventoryItem> Inventory.getActiveClothing()
          Get all active clothing items in a collection.
 Collection<InventoryItem> Inventory.getActiveItemsByType(Collection<InventoryItemType> types)
           
 Collection<InventoryItem> Inventory.getActiveItemsByType(InventoryItemType t)
           
 Collection<InventoryItem> ItemManager.getConflicts(InventoryItem item)
          WRITEME: Document this method brpocock@star-hope.org
 Collection<InventoryItem> Inventory.getEquippedItems(boolean includePassive)
          Get the set of equipped items which are either ACTIVE or PASSIVE.
private  Collection<InventoryItem> ItemManager.getItemConflicts(InventoryItem item)
          WRITEME: Document this method brpocock@star-hope.org
 Collection<InventoryItem> Inventory.getItemsByType(Collection<InventoryItemType> types)
          get all items of given types
 Collection<InventoryItem> Inventory.getItemsByType(InventoryItemType inventoryItemType)
          WRITEME: Document this method brpocock@star-hope.org
private  Collection<InventoryItem> ItemManager.getSlotConflicts(InventoryItem item)
          WRITEME: Document this method brpocock@star-hope.org
 Iterator<InventoryItem> Inventory.iterator()
          This is an overriding method.
 SimpleDataRecordSet<InventoryItem,Inventory> InventorySQLLoader.loadRecord(String identifier)
           
 

Methods in org.starhope.appius.game.inventory with parameters of type InventoryItem
 boolean Inventory.add(InventoryItem item)
          This is an overriding method.
private  void ItemManager.addEffects(InventoryItem item)
          WRITEME: Document this method brpocock@star-hope.org
 void InventoryItemSQLLoader.changed(InventoryItem changedRecord)
           
 boolean ItemEffects.conflicts(GenericItemReference itemClass, InventoryItem anItem)
           For the item which bears this effect, determine whether another item conflicts with it.
 void Inventory.doff(InventoryItem item)
          Doff a wearable item
 void Inventory.don(InventoryItem item, Colour colour)
          Put on a wearable item, to include Pivitz as well as clothing and so forth.
static ItemEffects ItemEffects.forItem(InventoryItem item)
          Get the ItemEffects subclass responsible for handling effects from a given item type
 Collection<InventoryItem> ItemManager.getConflicts(InventoryItem item)
          WRITEME: Document this method brpocock@star-hope.org
private  ItemEffects ItemEffectsType.getInstanceFor(InventoryItem item)
          WRITEME: Document this method brpocock@star-hope.org
private  Collection<InventoryItem> ItemManager.getItemConflicts(InventoryItem item)
          WRITEME: Document this method brpocock@star-hope.org
 ItemEffects ItemEffectsType.getItemEffectsInstance(InventoryItem item)
          WRITEME: Document this method brpocock@star-hope.org
private  Collection<InventoryItem> ItemManager.getSlotConflicts(InventoryItem item)
          WRITEME: Document this method brpocock@star-hope.org
private  void InventoryItemSQLLoader.insertSQL(InventoryItem record)
          WRITEME: Document this method brpocock@star-hope.org
 boolean ItemManager.noteDeEquip(InventoryItem item)
          Acknowledge that an item has been de-equipped, and its status effects should be removed, and also remove any items that require this one to be equipped.
 boolean ItemManager.noteEquip(InventoryItem item)
          Acknowledge that an item has been equipped, and its status effects should be applied, and conflicting items removed.
 void InventoryItemSQLLoader.refresh(InventoryItem record)
           
 void InventoryItemSQLLoader.removeRecord(InventoryItem record)
           
 void InventoryItemSQLLoader.saveRecord(InventoryItem record)
           
 ItemEffects ItemEffectsType.setInstanceFor(InventoryItem item, ItemEffects fx)
          WRITEME: Document this method brpocock@star-hope.org
 void Inventory.setStructure(InventoryItem item)
          Activate one structural element in lieu of any others that occupy the same slot.
private  void InventoryItemSQLLoader.updateSQL(InventoryItem record)
          WRITEME: Document this method brpocock@star-hope.org
 

Method parameters in org.starhope.appius.game.inventory with type arguments of type InventoryItem
 boolean Inventory.addAll(Collection<? extends InventoryItem> c)
          This is an overriding method.
 void InventorySQLLoader.changed(SimpleDataRecordSet<InventoryItem,Inventory> changedRecord)
           
static InventoryItem InventoryItem.getByID(RecordLoader<InventoryItem> loader, int idByWhichToGet)
          Get an inventory item based upon the database ID
 void InventorySQLLoader.refresh(SimpleDataRecordSet<InventoryItem,Inventory> record)
           
 void InventorySQLLoader.removeRecord(SimpleDataRecordSet<InventoryItem,Inventory> record)
           
 void InventorySQLLoader.saveRecord(SimpleDataRecordSet<InventoryItem,Inventory> record)
           
 

Constructors in org.starhope.appius.game.inventory with parameters of type InventoryItem
ItemEffects(InventoryItem theItem)
           
 

Constructor parameters in org.starhope.appius.game.inventory with type arguments of type InventoryItem
Inventory(RecordLoader<SimpleDataRecordSet<InventoryItem,Inventory>> loader)
          WRITEME: Document this constructor brpocock@star-hope.org
InventoryItem(RecordLoader<InventoryItem> loader)
          WRITEME: Document this constructor brpocock@star-hope.org
 

Uses of InventoryItem in org.starhope.appius.game.inventory.collections
 

Fields in org.starhope.appius.game.inventory.collections with type parameters of type InventoryItem
private  Set<InventoryItem> UserItemCollection.items
          the items that this user has collected which are a part of this set
 

Methods in org.starhope.appius.game.inventory.collections that return types with arguments of type InventoryItem
 Collection<InventoryItem> UserItemCollection.getItems()
           
 Iterator<InventoryItem> UserItemCollection.iterator()
           
 

Methods in org.starhope.appius.game.inventory.collections with parameters of type InventoryItem
 boolean UserItemCollection.add(InventoryItem e)
           
 

Method parameters in org.starhope.appius.game.inventory.collections with type arguments of type InventoryItem
 boolean UserItemCollection.addAll(Collection<? extends InventoryItem> c)
           
 

Uses of InventoryItem in org.starhope.appius.game.inventory.effects
 

Constructors in org.starhope.appius.game.inventory.effects with parameters of type InventoryItem
Shovel(InventoryItem theItem)
           
SimpleAbstractWeapon(InventoryItem theItem)
           
SimpleArmour(InventoryItem theItem)
           
SimpleMeleeWeapon(InventoryItem theItem)
           
SimpleRangedWeapon(InventoryItem theItem)
           
 

Uses of InventoryItem in org.starhope.appius.user
 

Fields in org.starhope.appius.user with type parameters of type InventoryItem
 Set<InventoryItem> UserTransientEffects.addItems
          WRITEME: Document this brpocock@star-hope.org
 Set<InventoryItem> UserTransientEffects.removeItems
          Transient removal of items
 

Methods in org.starhope.appius.user that return InventoryItem
 InventoryItem User.getActiveItemByType(String oneTypeString)
          Deprecated. use Inventory.getActiveItemsByType(InventoryItemType)
 InventoryItem User.getFurnitureBySlot(int slotNumber)
          Get a home décor (furniture or structure) item from this user's inventory by its slot number
 InventoryItem[] GeneralUser.getItemsByTypeAsArray(String typeString)
          Get all items that identify as the type string.
 

Methods in org.starhope.appius.user that return types with arguments of type InventoryItem
 Collection<InventoryItem> User.getActiveDecorations(int roomNumber)
          get the decorations active (placed) in a room of this user's house
 Collection<InventoryItem> User.getActiveItemsByType(InventoryItemType t)
          Returns the active item for an item type.
 Collection<InventoryItem> User.getActiveItemsByType(String t)
          Deprecated. use User.getActiveItemsByType(InventoryItemType)
 Collection<InventoryItem> GeneralUser.getGameEquipItems()
          If the user has a game item equipped (e.g.
 Collection<InventoryItem> GeneralUser.getItemsByType(String typeString)
          Get all items that identify as the type string.
 Collection<InventoryItem> GeneralUser.getItemsByType(String[] types)
          Get all inventory items which are (any of) the given type(s).
 

Methods in org.starhope.appius.user with parameters of type InventoryItem
protected  void User.addFreeClothing(InventoryItem clothingItem)
          Deprecated. use Inventory.addDefaultFreeItem(int, boolean)
 void User.addItem(InventoryItem item)
          Deprecated. use Inventory.add(InventoryItem)
 void User.equip(InventoryItem item)
          Equip an item
 boolean User.hasItem(InventoryItem item)
          Deprecated. use Inventory.hasItem(int)
 void User.setStructure(InventoryItem item)
          Activate one structural element in lieu of any others that occupy the same slot.
 

Uses of InventoryItem in org.starhope.appius.user.events
 

Methods in org.starhope.appius.user.events with parameters of type InventoryItem
 void EventRecord.end(InventoryItem item, AbstractUser u)
          End a “gift” event whereby an user has given an item to another user