CablePlacerComponent.cs 563 B

12345678910111213141516
  1. using Robust.Shared.Prototypes;
  2. using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
  3. using Content.Shared.Power;
  4. namespace Content.Server.Power.Components
  5. {
  6. [RegisterComponent]
  7. public sealed partial class CablePlacerComponent : Component
  8. {
  9. [DataField("cablePrototypeID", customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
  10. public string? CablePrototypeId = "CableHV";
  11. [DataField("blockingWireType")]
  12. public CableType BlockingCableType = CableType.HighVoltage;
  13. }
  14. }