Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
AxelSemrau.Chronos.Plugin.Consumables.IConsumableManipulator Interface Reference

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.
 
void SetLevel (string consumableLocation, Quantity absoluteAmount)
 Set the level of a consumable to a certain value.
 

Detailed Description

Helps you manipulate the desired consumable, or works as a dummy.

Definition at line 8 of file IConsumableManipulator.cs.

Member Function Documentation

◆ ModifyLevel()

void AxelSemrau.Chronos.Plugin.Consumables.IConsumableManipulator.ModifyLevel ( string consumableLocation,
Quantity amountDelta )

Change the level of a consumable.

Parameters
consumableLocation
amountDeltaIf 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().

◆ SetLevel()

void AxelSemrau.Chronos.Plugin.Consumables.IConsumableManipulator.SetLevel ( string consumableLocation,
Quantity absoluteAmount )

Set the level of a consumable to a certain value.

Parameters
consumableLocation
absoluteAmount

The documentation for this interface was generated from the following file: