Loading...
Searching...
No Matches
AdventureCore.InventoryItemSurrogate Class Reference

Detailed Description

special inventory item that is used to redirect to actual inventory items in surrogate inventories

Inheritance diagram for AdventureCore.InventoryItemSurrogate:
AdventureCore.InventoryItem

Public Member Functions

 InventoryItemSurrogate (ItemBase item)
 
- Public Member Functions inherited from AdventureCore.InventoryItem
 InventoryItem (ItemQuantity itemQuantity)
 
 InventoryItem (ItemBase item)
 
 InventoryItem (ItemBase item, int quantity)
 
 InventoryItem (ItemBase item, int quantity, ItemValue[] values)
 
string GetStringValue (string key, string defaultValue)
 
int GetIntValue (string key, int defaultValue)
 
float GetFloatValue (string key, float defaultValue)
 
bool GetBoolValue (string key, bool defaultValue)
 
virtual bool CheckValue (string key)
 
virtual T GetValue< T > (string key, T defaultValue)
 
ItemQuantity GetItemQuantity ()
 
InventoryItemData GetData ()
 
virtual void OnQuantityChanged ()
 
virtual void OnEquippedSlotChanged ()
 
override string ToString ()
 

Properties

InventoryBase Target [get, set]
 

Additional Inherited Members

- Public Attributes inherited from AdventureCore.InventoryItem
ItemBase Item
 
int Quantity
 
ItemSlotBase EquippedSlot
 
ItemValue[] Values
 
- Events inherited from AdventureCore.InventoryItem
Action< ItemSlotBaseEquippedSlotChanged
 
Action< int > QuantityChanged
 
Action< string > ValueChanged