Struct OutputItem
Represents a single item type and quantity to give for a payout.
Namespace: UnityEngine.GameFoundation
Assembly: solution.dll
Syntax
public struct OutputItem
Constructors
| Name | Description |
|---|---|
| OutputItem(string, int, string) | Standard constructor for an output item, takes an id, quantity, and optional destination inventory. |
| OutputItem(OutputItem) | Constructor for creating a clone with the same information as another OutputItem. |
Properties
| Name | Description |
|---|---|
| destinationInventoryId | Returns the id of the destination inventory to dispense items into |
| id | The id of the inventory item used in this output item. |
| quantity | Get the payout quantity. |
Methods
| Name | Description |
|---|---|
| ToString() | Outputs all main data of the output item into a single string. TODO: Definitely may want to improve this formatting once we're ready to release this. |