Skip to main content

ChisellingDeckSaveData2

A class in Root.Township, Alta.Carpentry.

Old save data for a ChisellingDeck (version 2); migrates to ChisellingDeckSaveData and drops hasFollowedrecipe.

Constructors​

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

Fields​

MemberWhat it is
int currentSizeSaved block size.
int[] donePiecesIndexes of finished pieces.
bool hasFollowedrecipeWhether the recipe was followed; lost on migration.
PieceSaveData[] piecesSaved piece states.
ChiselDefinition spawnedThe chisel definition that was spawned.
int stageSaved chiselling stage.

Methods​

MemberWhat it is
override SaveData Migrate()Copies the fields into a current ChisellingDeckSaveData.