Skip to main content

PlayerUnlockStationSaveDataOld2

A class in Root.Township, the global namespace.

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

Constructors​

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

Fields​

MemberWhat it is
bool isCheckpointOld flag, dropped on migration.
bool isRemovalOld 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 flags are dropped.