Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -5,7 +5,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
||||
namespace Content.Server.Construction.Components
|
||||
{
|
||||
[RegisterComponent, Access(typeof(ConstructionSystem))]
|
||||
public sealed class ConstructionComponent : Component
|
||||
public sealed partial class ConstructionComponent : Component
|
||||
{
|
||||
[DataField("graph", required:true, customTypeSerializer:typeof(PrototypeIdSerializer<ConstructionGraphPrototype>))]
|
||||
public string Graph { get; set; } = string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user