using Robust.Shared.Prototypes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; using Content.Shared.Power; using Content.Shared.Whitelist; namespace Content.Server.Power.Components { [RegisterComponent] public sealed partial class CablePlacerComponent : Component { /// /// The structure prototype for the cable coil to place. /// [DataField("cablePrototypeID", customTypeSerializer:typeof(PrototypeIdSerializer))] public string? CablePrototypeId = "CableHV"; /// /// What kind of wire prevents placing this wire over it as CableType. /// [DataField("blockingWireType")] public CableType BlockingCableType = CableType.HighVoltage; /// /// Blacklist for things the cable cannot be placed over. For things that arent cables with CableTypes. /// [DataField] public EntityWhitelist Blacklist = new(); /// /// Whether the placed cable should go over tiles or not. /// [DataField] public bool OverTile; } }