ComputerBoardComponent.cs 528 B

123456789101112131415
  1. using Robust.Shared.Prototypes;
  2. using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
  3. namespace Content.Shared.Construction.Components
  4. {
  5. /// <summary>
  6. /// Used for construction graphs in building computers.
  7. /// </summary>
  8. [RegisterComponent]
  9. public sealed partial class ComputerBoardComponent : Component
  10. {
  11. [DataField("prototype", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
  12. public string? Prototype { get; private set; }
  13. }
  14. }