A class in Root.Township, Alta.StatSystem.
Editor asset that stores the health of every network prefab as a list of Instance entries. HealthValidation fills it and loads from it.
Constructors
| Member | What it is |
|---|
HealthData() | Creates a HealthData with default values. |
Fields
1 private and internal field
| Member | What it is |
|---|
private List<Instance> healthInstances | The stored prefab and health entries. |
Properties
| Member | What it is |
|---|
int Count { get; } | Number of entries. |
bool IsReadOnly { get; } | Always false. |
Methods
| Member | What it is |
|---|
void Add(Instance item) | Adds an entry. |
void Clear() | Removes all entries. |
bool Contains(Instance item) | True if the entry is in the list. |
void CopyTo(Instance[] array, int arrayIndex) | Copies the entries into an array. |
IEnumerator<Instance> GetEnumerator() | Enumerates the entries. |
bool Remove(Instance item) | Removes an entry. |
1 private and internal method
| Member | What it is |
|---|
private IEnumerator System.Collections.IEnumerable.GetEnumerator() | Enumerates the entries. |
Used in
Members of other types that take, return or hold a HealthData: