Skip to main content

RepairBoxSaveDataOld

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

Version 1 save data for RepairBox, migrated to RepairBoxSaveData on load.

Constructors​

MemberWhat it is
RepairBoxSaveDataOld()Creates a RepairBoxSaveDataOld 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.
RepairBoxSaveData.Item[] itemsCost slots.
NetworkPrefab spawningPrefab 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 the fields into the current format with no set piece.