using Robust.Shared.Prototypes;
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", required: true)]
public EntProtoId CablePrototypeId;
///
/// 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;
}
}