DurabilityModule.DurabilityVisual
A class in Root.Township, the global namespace.
One damage stage of a DurabilityModule: the renderers to show and the integrity threshold the stage starts below.
- Listed in Global namespace: C to D
- Nested in
DurabilityModule - Inherits or implements
IReferenceRenderer
Constructors
| Member | What it is |
|---|---|
DurabilityVisual() | Creates a DurabilityModule.DurabilityVisual with default values. |
Fields
2 private and internal fields
Properties
Methods
| Member | What it is |
|---|---|
void CleanMissing() | Removes destroyed renderers from the list. |
void SetEnable(DurabilityModule module, bool isEnabled) | Client: turns the stage's renderers on or off. Does nothing on a headless server. |
void UpdateRenderers(Renderer[] oldFirstRenderers, Renderer[] newFirstRenderers) | Swaps old renderers in the stage list for new ones. |
Used in
Members of other types that take, return or hold a DurabilityVisual: