using Robust.Shared.Audio;
namespace Content.Server.Wires;
[RegisterComponent]
public sealed class WiresComponent : Component
{
///
/// The name of this entity's internal board.
///
[DataField("BoardName")]
public string BoardName { get; set; } = "Wires";
///
/// The layout ID of this entity's wires.
///
[DataField("LayoutId", required: true)]
public string LayoutId { get; set; } = default!;
///
/// The serial number of this board. Randomly generated upon start,
/// does not need to be set.
///
[ViewVariables]
public string? SerialNumber { get; set; }
///
/// The seed that dictates the wires appearance, as well as
/// the status ordering on the UI client side.
///
[ViewVariables]
public int WireSeed { get; set; }
///
/// The list of wires currently active on this entity.
///
[ViewVariables]
public List WiresList { get; set; } = new();
///
/// Queue of wires saved while the wire's DoAfter event occurs, to prevent too much spam.
///
[ViewVariables]
public List WiresQueue { get; } = new();
///
/// If this should follow the layout saved the first time the layout dictated by the
/// layout ID is generated, or if a new wire order should be generated every time.
///
[DataField("alwaysRandomize")]
public bool AlwaysRandomize { get; }
///
/// Per wire status, keyed by an object.
///
[ViewVariables]
public Dictionary