using Robust.Shared.Prototypes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Array; 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] public sealed partial class WireLayoutPrototype : IPrototype, IInheritingPrototype { [IdDataField] public string ID { get; private set; } = default!; [ParentDataField(typeof(AbstractPrototypeIdArraySerializer))] public string[]? Parents { get; private set; } [AbstractDataField] public bool Abstract { get; private set; } /// /// How many wires in this layout will do /// nothing (these are added upon layout /// initialization) /// [DataField("dummyWires")] [NeverPushInheritance] public int DummyWires { get; private set; } = default!; /// /// All the valid IWireActions currently in this layout. /// [DataField("wires")] [NeverPushInheritance] public List? Wires { get; private set; } }