PopulationAnalytics
A static class in Root.Township, Alta.Populations.
Logs population changes at trace level, and raises the PopulationModified console event for spawns and losses.
- Listed in World generation
- Documented in Populations and spawners
Fields
Methods
| Member | What it is |
|---|---|
static void SendRecord(string populationName, string chunkIdentifier, int currentPopulation, int maxPopulation, PopulationAction action) | Logs a population's name, chunk, current and max size and the action. The sample overload also raises PopulationModified for Spawned and Lost. |
static void SendRecord(PopulationSample sample, PopulationAction action, UserInfo killer = null) | Logs a population's name, chunk, current and max size and the action. The sample overload also raises PopulationModified for Spawned and Lost. |