Ecosystem.PopulationApplication
A class in Root.Township, Alta.Populations.
One population entry in an Ecosystem asset: which population, how big it can get, and whether spawn points cap it. Server: turned into a PopulationSample per chunk.
Constructors
Fields
6 private and internal fields
| Member | What it is |
|---|
private int averageMaximumPopulation | Maximum population before biome attribute impacts are applied (default 5). Ignored when limited by spawn points. |
private PopulationDefinition definition | Backing field for Definition. |
private bool isLimitedBySpawnPoints | When set, the maximum and starting population both equal the spawn area limit instead of the average. |
private float maxPopulationMultiplierOnSimpleServers | Scales the maximum on simple servers. Not applied when limited by spawn points. |
private int minimumStartPopulation | Lowest starting count; the start is a random value between this and the maximum. |
private Plugin plugin | Backing field for Plugin. |
Properties
| Member | What it is |
|---|
PopulationDefinition Definition { get; } | The population this entry spawns. |
uint Hash { get; } | Hash of the population definition, used to look up its spawn information. |
Plugin Plugin { get; } | Generation plugin tied to this entry. |
Methods
Used in
Members of other types that take, return or hold a PopulationApplication: