45 lines
852 B
C#
45 lines
852 B
C#
using Content.Shared.NodeContainer.NodeGroups;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Power
|
|
{
|
|
[Serializable, NetSerializable]
|
|
public enum ChargeState : byte
|
|
{
|
|
Still = 0,
|
|
Charging = 1,
|
|
Discharging = 2,
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum PowerWireActionKey : byte
|
|
{
|
|
Key,
|
|
Status,
|
|
Pulsed,
|
|
Electrified,
|
|
PulseCancel,
|
|
ElectrifiedCancel,
|
|
MainWire,
|
|
WireCount,
|
|
CutWires
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum CableType
|
|
{
|
|
HighVoltage,
|
|
MediumVoltage,
|
|
Apc,
|
|
ExCable
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum Voltage
|
|
{
|
|
High = NodeGroupID.HVPower,
|
|
Medium = NodeGroupID.MVPower,
|
|
Apc = NodeGroupID.Apc,
|
|
}
|
|
}
|