Skip to main content

LockableHingeSaveData

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

Save data for a LockableHinge: whether it has a lock and its state.

Constructors​

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

Fields​

MemberWhat it is
bool hasLockWhether a lock is attached.
bool isDetachableWhether the lock can be taken off.
bool isLockedWhether the lock is locked.
NetworkPrefab lockPrefabPrefab of the attached lock.