2019-09-19 11:47:45 -07:00
|
|
|
using Robust.Shared.GameObjects;
|
2022-01-29 22:45:57 +11:00
|
|
|
using Robust.Shared.Prototypes;
|
2021-06-09 22:19:39 +02:00
|
|
|
using Robust.Shared.Serialization.Manager.Attributes;
|
2022-01-29 22:45:57 +11:00
|
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
2021-06-09 22:19:39 +02:00
|
|
|
using Robust.Shared.ViewVariables;
|
2019-09-19 11:47:45 -07:00
|
|
|
|
2021-07-04 18:11:52 +02:00
|
|
|
namespace Content.Server.Power.Components
|
2019-09-19 11:47:45 -07:00
|
|
|
{
|
2022-02-08 00:42:49 -08:00
|
|
|
[RegisterComponent]
|
2022-01-29 22:45:57 +11:00
|
|
|
public sealed class CablePlacerComponent : Component
|
2019-09-19 11:47:45 -07:00
|
|
|
{
|
2020-06-28 09:23:26 -06:00
|
|
|
[ViewVariables]
|
2022-01-29 22:45:57 +11:00
|
|
|
[DataField("cablePrototypeID", customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
|
|
|
|
|
public string? CablePrototypeId = "CableHV";
|
2020-06-28 09:23:26 -06:00
|
|
|
|
|
|
|
|
[ViewVariables]
|
2021-03-05 01:08:38 +01:00
|
|
|
[DataField("blockingWireType")]
|
2022-01-29 22:45:57 +11:00
|
|
|
public CableType BlockingCableType = CableType.HighVoltage;
|
2019-09-19 11:47:45 -07:00
|
|
|
}
|
|
|
|
|
}
|