ComputerComponent.cs 437 B

123456789101112
  1. using Robust.Shared.Prototypes;
  2. using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
  3. namespace Content.Server.Construction.Components
  4. {
  5. [RegisterComponent, ComponentProtoName("Computer")]
  6. public sealed partial class ComputerComponent : Component
  7. {
  8. [DataField("board", customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
  9. public string? BoardPrototype;
  10. }
  11. }