Skip to main content

IPopulationFolderSaveDataBase

An interface in Root.Township, Alta.Populations.

Saved state of one population in a chunk: its counts, next check time and spawned children.

Properties​

MemberWhat it is
TimeSpan CheckPopulationTime { get; set; }Time to the next population check. Checks missed while unloaded are run on load.
PopulationSaveDataChild[] Children { get; set; }The spawned creatures and the spawn point each used.
int CurrentPopulation { get; set; }Creatures the population has now.
PopulationDefinition Definition { get; set; }The PopulationDefinition.
bool IsPopulationStarted { get; set; }True if the population had been set up when saved.
int MaximumPopulation { get; set; }Most creatures the population can have.

Used in​

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