move SignalState to shared (#37303)

Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
deltanedas
2025-05-10 01:05:19 +01:00
committed by GitHub
parent b13975cad2
commit bb7742e21e
4 changed files with 15 additions and 11 deletions

View File

@@ -40,3 +40,15 @@ public enum LogicGateLayers : byte
InputB,
Output
}
/// <summary>
/// The possible states of a logic-capable signal.
/// Stored in network payload data of device network messages.
/// </summary>
[Serializable, NetSerializable]
public enum SignalState : byte
{
Momentary, // Instantaneous pulse high, compatibility behavior
Low,
High
}