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.Construction.Components
|
||||
{
|
||||
[RegisterComponent, Access(typeof(AnchorableSystem))]
|
||||
public sealed class AnchorableComponent : Component
|
||||
public sealed partial class AnchorableComponent : Component
|
||||
{
|
||||
[DataField("tool", customTypeSerializer: typeof(PrototypeIdSerializer<ToolQualityPrototype>))]
|
||||
public string Tool { get; private set; } = "Anchoring";
|
||||
|
||||
Reference in New Issue
Block a user