Skip to main content

PopulationEventData

A class in Root.Township, Alta.Populations.

Payload of the ConsoleEvents.PopulationModified console event, raised by PopulationAnalytics when a chunk's population changes.

Constructors​

MemberWhat it is
PopulationEventData(PopulationSample sample, PopulationAction action)Creates a PopulationEventData from sample and action.

Fields​

MemberWhat it is
PopulationAction actionWhat happened to the population.
string chunkIdentifierIdentifier of the chunk the population is in.
int currentPopulationHow many are alive now.
int maxPopulationThe population's maximum size.
string populationNameName of the population definition asset.

Used in​

Members of other types that take, return or hold a PopulationEventData: