Voltage enum to shared (#38964)

This commit is contained in:
UpAndLeaves
2025-07-14 06:13:01 +00:00
committed by GitHub
parent 4f766f199c
commit 229f33f22a
3 changed files with 11 additions and 7 deletions

View File

@@ -1,3 +1,4 @@
using Content.Shared.NodeContainer.NodeGroups;
using Robust.Shared.Serialization;
namespace Content.Shared.Power
@@ -31,4 +32,12 @@ namespace Content.Shared.Power
MediumVoltage,
Apc,
}
[Serializable, NetSerializable]
public enum Voltage
{
High = NodeGroupID.HVPower,
Medium = NodeGroupID.MVPower,
Apc = NodeGroupID.Apc,
}
}