GeneratedLootSaveData1
A internal class in Root.Township, Alta.Loot. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Old save format (version 1) for GeneratedLoot, with the refill timer in float seconds. Migrated to GeneratedLootSaveData.
- Listed in World generation
- Inherits or implements
OldSaveData - Attributes
SaveStructure
Constructors
| Member | What it is |
|---|---|
GeneratedLootSaveData1() | Creates a GeneratedLootSaveData1 with default values. |
Fields
| Member | What it is |
|---|---|
int cachedPluginIdentifier | Stored int, copied as is. |
bool hasRun | Whether loot had been generated, copied as is. |
float waitToRefill | Seconds left on the refill timer. |
Methods
| Member | What it is |
|---|---|
override SaveData Migrate() | Converts to GeneratedLootSaveData, turning the float seconds into a TimeSpan. |