Skip to main content

PlayerUnlockStationSaveDataOld1

A class in Root.Township, the global namespace.

Old save data (version 1) for a PlayerUnlockStation. Migrates to PlayerUnlockStationSaveData.

Constructors​

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

Fields​

MemberWhat it is
bool isCheckpointOld flag, dropped on migration.
bool isResetOld flag, dropped on migration.
int orbIndexIndex of the orb.
PlayerUnlock unlockThe unlock the station gave.

Methods​

MemberWhat it is
override SaveData Migrate()Keeps the unlock and orb index and sets the station index to 0. The checkpoint and reset flags are dropped.