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.
- Listed in Items, inventory and logic
- Inherits or implements
NewSaveData<LockableHinge, LockableHingeSaveData> - Derived types
LockableHinge,LockableHingeSaveData - Attributes
SaveStructure
Constructors
| Member | What it is |
|---|---|
LockableHingeSaveData() | Creates a LockableHingeSaveData with default values. |
Fields
| Member | What it is |
|---|---|
bool hasLock | Whether a lock is attached. |
bool isDetachable | Whether the lock can be taken off. |
bool isLocked | Whether the lock is locked. |
NetworkPrefab lockPrefab | Prefab of the attached lock. |