16 lines
535 B
C#
16 lines
535 B
C#
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
namespace Content.Server.Power.Components
|
|
{
|
|
[RegisterComponent]
|
|
public sealed partial class CablePlacerComponent : Component
|
|
{
|
|
[DataField("cablePrototypeID", customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
|
|
public string? CablePrototypeId = "CableHV";
|
|
|
|
[DataField("blockingWireType")]
|
|
public CableType BlockingCableType = CableType.HighVoltage;
|
|
}
|
|
}
|