Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -3,7 +3,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
||||
namespace Content.Server.Spreader;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class SpreaderGridComponent : Component
|
||||
public sealed partial class SpreaderGridComponent : Component
|
||||
{
|
||||
[DataField("nextUpdate", customTypeSerializer:typeof(TimeOffsetSerializer))]
|
||||
public TimeSpan NextUpdate = TimeSpan.Zero;
|
||||
|
||||
Reference in New Issue
Block a user