LogicGateSaveData
A class in Root.Township, Alta.Logic.
Save data (version 2) for LogicGateReceiver: the gate type, whether the output is inverted, and its bool inputs.
- Listed in Items, inventory and logic
- Inherits or implements
NewSaveData<LogicGateReceiver, LogicGateSaveData> - Derived types
LogicGateReceiver,LogicGateSaveData - Attributes
SaveStructure
Constructors
| Member | What it is |
|---|---|
LogicGateSaveData() | Creates a LogicGateSaveData with default values. |
Fields
| Member | What it is |
|---|---|
bool isInversedOutputSaved | If true the gate's output is inverted (for example AND becomes NAND). |
LogicOperationType operationType | Which logic operation the gate applies to its inputs. |
Properties
| Member | What it is |
|---|---|
LogicBoolSaveData[] Datas { get; set; } | Logic data of each linked bool sender, one per gate input. |