Skip to main content

RepairBoxSaveDataOld4

A internal class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Version 4 save data for RepairBox, without the dev tool flag. Migrated to RepairBoxSaveData on load.

Constructors​

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

Fields​

MemberWhat it is
bool canBeUndoneWhether the build can be undone.
bool isDoneWhether the build is finished.
bool isRepeatableWhether the box can be refilled.
RepairBoxSaveDataOld4.Item[] itemsCost slots with item, count, material and simple-server flag.
NetworkPrefab spawningPrefab spawned on finish.
SetPieceData spawningDataSet piece spawned on finish.
Vector3 spawnPositionSpawn position.
Quaternion spawnRotationSpawn rotation.
uint staticHashHash of the static object modified, or 0.

Methods​

MemberWhat it is
override SaveData Migrate()Copies everything into the current format with wasBuiltByDevTool false.