Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -4,7 +4,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
||||
namespace Content.Server.SprayPainter;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class PaintableAirlockComponent : Component
|
||||
public sealed partial class PaintableAirlockComponent : Component
|
||||
{
|
||||
[DataField("group", customTypeSerializer:typeof(PrototypeIdSerializer<AirlockGroupPrototype>))]
|
||||
public string Group = default!;
|
||||
|
||||
Reference in New Issue
Block a user