17 lines
546 B
C#
17 lines
546 B
C#
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
namespace Content.Server.Construction.Components
|
|
{
|
|
/// <summary>
|
|
/// Used for construction graphs in building computers.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed class ComputerBoardComponent : Component
|
|
{
|
|
[ViewVariables]
|
|
[DataField("prototype", customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
|
|
public string? Prototype { get; private set; }
|
|
}
|
|
}
|