Class InventoryItem
Item handled by the Inventory
Namespace: UnityEngine .GameFoundation
Assembly: solution.dll
Syntax
public class InventoryItem
Properties
Name | Description |
---|---|
definition | The definition used to create this item. |
has |
Determines if this item has been discarded (removed from Game Foundation).
Items being standard objects, they cannot be destroyed
and garbage collected as long as all their references are not set to This property is a way for you to know if the object is still active within Game Foundation. |
id | The unique identifier of this item. |
Methods
Name | Description |
---|---|
Adjust |
Adjust the value of the property with the given |
Assert |
Throws a Null |
Equals(object) | Determines whether the specified object is equal to the current object. |
Get |
Get all default properties stored in this definition. |
Get |
Get all default properties stored in this definition. |
Get |
Get the default value of the property with the given |
Get |
Serves as the default hash function. |
Get |
Get all properties stored in this item. |
Get |
Get all properties stored in this item. |
Get |
Get the value of the property with the given |
Has |
Check if this item has a property for the given |
Reset |
Reset the property with the given |
Set |
Set the property with the given |
Try |
Try to get the default value of the property with the given |
Try |
Try to get the value of the property with the given |
Events
Name | Description |
---|---|
property |
Event triggered when a property is updated. |