Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -8,11 +8,11 @@ namespace Content.Server.Shuttle.Components;
|
||||
/// Lets you remotely control a shuttle.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class DroneConsoleComponent : Component
|
||||
public sealed partial class DroneConsoleComponent : Component
|
||||
{
|
||||
[DataField("components", required: true)]
|
||||
public ComponentRegistry Components = default!;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// <see cref="ShuttleConsoleComponent"/> that we're proxied into.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user