PopulationFolderSaveData
A class in Root.Township, Alta.Populations.
Save data (version 2) for a PopulationFolder: its population definition, counts, timer and saved children.
- Listed in World generation
- Inherits or implements
NewSaveData<PopulationFolder, PopulationFolderSaveData>,IPopulationFolderSaveDataBase - Derived types
PopulationFolder,PopulationFolderSaveData - Attributes
SaveStructure
Constructors
| Member | What it is |
|---|---|
PopulationFolderSaveData() | Creates a PopulationFolderSaveData with default values. |
Fields
| Member | What it is |
|---|---|
TimeSpan checkPopulationTime | Backing field for CheckPopulationTime: when the population is next checked. |
PopulationSaveDataChild[] children | Backing field for Children: saved data for each spawned member. |
int currentPopulation | Backing field for CurrentPopulation. |
PopulationDefinition definition | Backing field for Definition. |
bool isPopulationStarted | Backing field for IsPopulationStarted. |
int maxPopulation | Backing field for MaximumPopulation. |
Properties
| Member | What 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. |