PopulationEventData
A class in Root.Township, Alta.Populations.
Payload of the ConsoleEvents.PopulationModified console event, raised by PopulationAnalytics when a chunk's population changes.
- Listed in World generation
- Documented in Console events
Constructors
| Member | What it is |
|---|---|
PopulationEventData(PopulationSample sample, PopulationAction action) | Creates a PopulationEventData from sample and action. |
Fields
| Member | What it is |
|---|---|
PopulationAction action | What happened to the population. |
string chunkIdentifier | Identifier of the chunk the population is in. |
int currentPopulation | How many are alive now. |
int maxPopulation | The population's maximum size. |
string populationName | Name of the population definition asset. |
Used in
Members of other types that take, return or hold a PopulationEventData: