Constructor OutputItem
OutputItem(string, int, string)
Standard constructor for an output item, takes an id, quantity, and optional destination inventory.
Declaration
public OutputItem(string id, int quantity, string destinationInventoryId = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The id of the item this gives. |
| int | quantity | The quantity of the item to give. |
| string | destinationInventoryId | The override inventory to try and put the item into. |
OutputItem(OutputItem)
Constructor for creating a clone with the same information as another OutputItem.
Declaration
public OutputItem(OutputItem other)
Parameters
| Type | Name | Description |
|---|---|---|
| OutputItem | other | The other output item to copy information from. |