using System.Collections.Generic; using Content.Server.Power.EntitySystems; using Robust.Shared.Analyzers; using Robust.Shared.GameObjects; using Robust.Shared.Serialization.Manager.Attributes; using Robust.Shared.ViewVariables; namespace Content.Server.Power.Components { [RegisterComponent] [Friend(typeof(ExtensionCableSystem))] public class ExtensionCableProviderComponent : Component { /// /// The max distance this can connect to s from. /// [ViewVariables(VVAccess.ReadWrite)] [DataField("transferRange")] public int TransferRange { get; set; } = 3; [ViewVariables] public List LinkedReceivers { get; } = new(); /// /// If s should consider connecting to this. /// [ViewVariables(VVAccess.ReadWrite)] public bool Connectable { get; set; } = true; } }