Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Implement this on the representation of a single source for some consumable. More...
Public Member Functions | |
void | ModifyBy (Quantity relativeAmount) |
Change the currently active amount available in this puddle. | |
void | SetTo (Quantity absoluteAmount) |
Set the currently available amount. | |
Properties | |
IConsumablePool | ParentPool [get] |
Cross-link back to the pool to which this puddle belongs. | |
string | Location [get] |
Location information for this consumable that is meaningful to a task that consumes something - like a bottle name, vial position... | |
Quantity | MaxLevel [get] |
How many units of this consumable are at best available here? | |
Quantity | CurrentLevel [get] |
How many units of this consumable are currently available here? | |
Implement this on the representation of a single source for some consumable.
Definition at line 11 of file IConsumablePuddle.cs.
void AxelSemrau.Chronos.Plugin.Consumables.IConsumablePuddle.ModifyBy | ( | Quantity | relativeAmount | ) |
Change the currently active amount available in this puddle.
relativeAmount | By how much does the content of the puddle change? Positive if you add something, negative if you take something |
void AxelSemrau.Chronos.Plugin.Consumables.IConsumablePuddle.SetTo | ( | Quantity | absoluteAmount | ) |
Set the currently available amount.
absoluteAmount | Like in ModifyBy |
|
get |
How many units of this consumable are currently available here?
Definition at line 28 of file IConsumablePuddle.cs.
|
get |
Location information for this consumable that is meaningful to a task that consumes something - like a bottle name, vial position...
Definition at line 20 of file IConsumablePuddle.cs.
|
get |
How many units of this consumable are at best available here?
Definition at line 24 of file IConsumablePuddle.cs.
|
get |
Cross-link back to the pool to which this puddle belongs.
Definition at line 16 of file IConsumablePuddle.cs.