|
Chronos Plugins
5.2.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Helps you manipulate the desired consumable, or works as a dummy. More...
Public Member Functions | |
| void | ModifyLevel (string consumableLocation, Quantity amountDelta) |
| Change the level of a consumable. More... | |
| void | SetLevel (string consumableLocation, Quantity absoluteAmount) |
| Set the level of a consumable to a certain value. More... | |
Helps you manipulate the desired consumable, or works as a dummy.
Definition at line 8 of file IConsumableManipulator.cs.
| void AxelSemrau.Chronos.Plugin.Consumables.IConsumableManipulator.ModifyLevel | ( | string | consumableLocation, |
| Quantity | amountDelta | ||
| ) |
Change the level of a consumable.
| consumableLocation | |
| amountDelta | If you can't know the amount in the validation phase because of jit: expressions that are not yet evaluated, use null |
Referenced by MockPlugin.Tasks.BrewCoffee.RegisterCoffeeConsumption(), and MockPlugin.Tasks.BrewFrappuccino.RegisterConsumption().
| void AxelSemrau.Chronos.Plugin.Consumables.IConsumableManipulator.SetLevel | ( | string | consumableLocation, |
| Quantity | absoluteAmount | ||
| ) |
Set the level of a consumable to a certain value.
| consumableLocation | |
| absoluteAmount |