Skip to main content

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.

Constructors​

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

Fields​

MemberWhat it is
int cachedPluginIdentifierStored int, copied as is.
bool hasRunWhether loot had been generated, copied as is.
float waitToRefillSeconds left on the refill timer.

Methods​

MemberWhat it is
override SaveData Migrate()Converts to GeneratedLootSaveData, turning the float seconds into a TimeSpan.