Chronos Plugins 5.4.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
IConsumableManipulator.cs
Go to the documentation of this file.
1using Ctc.Palplus.Integration.Driver.Entities;
2
4{
8 public interface IConsumableManipulator
9 {
15 void ModifyLevel(string consumableLocation, Quantity amountDelta);
21 void SetLevel(string consumableLocation, Quantity absoluteAmount);
22 }
23}
Helps you manipulate the desired consumable, or works as a dummy.
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.