Constructor Payout
Payout(List<OutputItem>, PayoutEvent)
Constructor for setting up a payout with multiple outputs.
Declaration
public Payout(List<OutputItem> outputItems, Payout.PayoutEvent payoutEvent = null)
Parameters
Type | Name | Description |
---|---|---|
List<OutputItem> | outputItems | The outputs this payout will give. |
Payout.PayoutEvent | payoutEvent | The callback to invoke when the payout finishes. |
Payout(OutputItem, PayoutEvent)
Constructor for setting up a payout with a single output. Many payouts will be simple 1 items so this constructor allows easy setup for that without need of an external list.
Declaration
public Payout(OutputItem outputItem, Payout.PayoutEvent payoutEvent = null)
Parameters
Type | Name | Description |
---|---|---|
OutputItem | outputItem | The item this payout will give. |
Payout.PayoutEvent | payoutEvent | The callback to invoke when the payout finishes. |
Payout(Payout)
Copy constructor for setting up a new payout based off of an existing one.
Declaration
public Payout(Payout other)
Parameters
Type | Name | Description |
---|---|---|
Payout | other | The other payout to base this one off of. |