2022-02-28 00:25:56 +11:00
|
|
|
|
using Robust.Shared.Prototypes;
|
|
|
|
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
2020-10-08 17:41:23 +02:00
|
|
|
|
|
2024-01-04 04:23:47 +00:00
|
|
|
|
namespace Content.Shared.Construction.Components
|
2020-10-08 17:41:23 +02:00
|
|
|
|
{
|
2022-02-28 00:25:56 +11:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Used for construction graphs in building computers.
|
|
|
|
|
|
/// </summary>
|
2020-10-08 17:41:23 +02:00
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
|
public sealed partial class ComputerBoardComponent : Component
|
2020-10-08 17:41:23 +02:00
|
|
|
|
{
|
2022-02-28 00:25:56 +11:00
|
|
|
|
[DataField("prototype", customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
|
2021-03-16 15:50:20 +01:00
|
|
|
|
public string? Prototype { get; private set; }
|
2020-10-08 17:41:23 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|