Struct InputItem
Represents a single item type and quantity to be used in a price.
Namespace: UnityEngine.GameFoundation
Assembly: solution.dll
Syntax
public struct InputItem
Constructors
Name | Description |
---|---|
InputItem(string, double, string) | Construct a transaction price requirement. Pays from Wallet by default. |
InputItem(InputItem) | Constructor for creating a clone with the same information as another InputItem. |
Properties
Name | Description |
---|---|
id | The id of the inventory item used in this input item. |
price | Gets the price (IAP) of the item or the quantity (InventoryItem) of the cost of this item. |
sourceInventoryOverride | Returns the id of the source inventory to look for items inside. |
Methods
Name | Description |
---|---|
ToString() | Outputs all main data of the input item into a single string. TODO: Definitely may want to improve this formatting once we're ready to release this. |