Skip to main content

PopulationFolderSaveData

A class in Root.Township, Alta.Populations.

Save data (version 2) for a PopulationFolder: its population definition, counts, timer and saved children.

Constructors​

MemberWhat it is
PopulationFolderSaveData()Creates a PopulationFolderSaveData with default values.

Fields​

MemberWhat it is
TimeSpan checkPopulationTimeBacking field for CheckPopulationTime: when the population is next checked.
PopulationSaveDataChild[] childrenBacking field for Children: saved data for each spawned member.
int currentPopulationBacking field for CurrentPopulation.
PopulationDefinition definitionBacking field for Definition.
bool isPopulationStartedBacking field for IsPopulationStarted.
int maxPopulationBacking field for MaximumPopulation.

Properties​

MemberWhat it is
TimeSpan CheckPopulationTime { get; set; }When the population is next checked.
PopulationSaveDataChild[] Children { get; set; }The saved spawned entities with their spawn points.
int CurrentPopulation { get; set; }How many were alive when saved.
PopulationDefinition Definition { get; set; }What the population spawns.
bool IsPopulationStarted { get; set; }Whether the population had started.
int MaximumPopulation { get; set; }The population's maximum.