PopulationSpawnAreaSaveData1
A class in Root.Township, Alta.Populations.
Old version 1 save data for a PopulationSpawnArea, kept so old saves can load.
- Listed in World generation
- Inherits or implements
OldSaveData - Attributes
SaveStructure
Constructors
| Member | What it is |
|---|---|
PopulationSpawnAreaSaveData1() | Creates a PopulationSpawnAreaSaveData1 with default values. |
Fields
| Member | What it is |
|---|---|
float checkPopulationTime | Next population check time, in seconds. |
PopulationSaveDataChild[] children | Saved data for each spawned member. |
int currentPopulation | Current population count. |
PopulationDefinition definition | The population definition. |
bool isOneOff | Whether the area spawns only once. |
bool isPopulationStarted | Whether the population had started spawning. |
int maxPopulation | Maximum population. |
int numberOfSpawnPoints | Number of spawn points in the area. |
int startingPopulation | Population to spawn at the start. |
Methods
| Member | What it is |
|---|---|
override SaveData Migrate() | Copies the fields into the current save data, turning checkPopulationTime from seconds into a TimeSpan. |