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.Shared.BarSign
|
||||
{
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed class BarSignComponent : Component
|
||||
public sealed partial class BarSignComponent : Component
|
||||
{
|
||||
[DataField("current", customTypeSerializer:typeof(PrototypeIdSerializer<BarSignPrototype>))]
|
||||
public string? CurrentSign;
|
||||
|
||||
Reference in New Issue
Block a user