Skip to main content

HealthObject.RegenUnit

A protected class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Protected helper that pairs a regeneration amount with a duration. Nothing in HealthObject uses it.

Constructors​

MemberWhat it is
RegenUnit(float amount, int duration)Creates a HealthObject.RegenUnit from amount and duration.

Fields​

2 private and internal fields
MemberWhat it is
private float amountBacking field for Amount.
private int durationBacking field for Duration.

Properties​

MemberWhat it is
float Amount { get; }Health to regenerate.
int Duration { get; }Duration of the regeneration.