using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server.Wires;
///
/// WireLayout prototype.
///
/// This is meant for ease of organizing wire sets on entities that use
/// wires. Once one of these is initialized, it should be stored in the
/// WiresSystem as a functional wire set.
///
[Prototype("wireLayout")]
public sealed class WireLayoutPrototype : IPrototype, IInheritingPrototype
{
[IdDataFieldAttribute]
public string ID { get; } = default!;
[ParentDataField(typeof(AbstractPrototypeIdSerializer))]
public string? Parent { get; } = default!;
[AbstractDataField]
public bool Abstract { get; }
///
/// How many wires in this layout will do
/// nothing (these are added upon layout
/// initialization)
///
[DataField("dummyWires")]
public int DummyWires { get; } = default!;
///
/// All the valid IWireActions currently in this layout.
///
[DataField("wires")]
public List? Wires { get; }
}