ActionAdventureKit 1.5.4
|
item that is replaced by another item when added to the inventory(bundles of arrows, higher currency denominations)
the actual replacement is handled by the inventory implementation
Public Member Functions | |
override bool | CanAdd (InventoryBase inventory, int quantity=1) |
override bool | OnAdd (InventoryBase inventory, int quantity, out InventoryItem inventoryItem) |
Public Member Functions inherited from AdventureCore.ItemBase | |
virtual bool | CanUse (CharacterBase character, int quantity=1) |
virtual bool | OnUse (CharacterBase character, int quantity=1) |
virtual bool | CanEquip (CharacterBase character) |
virtual void | OnEquip (CharacterBase character) |
virtual void | OnUnequip (CharacterBase character) |
void | Add (CharacterBase character) |
void | Remove (CharacterBase character) |
void | Add (CharacterActionBase action) |
void | Remove (CharacterActionBase action) |
override string | ToString () |
Public Attributes | |
ItemQuantity | Content |
int | PrerequisiteCount |
Public Attributes inherited from AdventureCore.ItemBase | |
string | Key |
string | Name |
string | Description |
Sprite | Image |
GameObject | Visual |
ItemCategory | Category |
ItemSlotCategory | Slot |
Properties | |
override bool | IsStackable [get] |
Properties inherited from AdventureCore.ItemBase | |
virtual bool | IsStackable [get] |
virtual bool | IsEquippable [get] |
virtual bool | IsUsable [get] |
|
inlinevirtual |
Reimplemented from AdventureCore.ItemBase.
|
inlinevirtual |
Reimplemented from AdventureCore.ItemBase.