Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Content.Server.Medical.Components
|
||||
/// Adds an innate verb when equipped to use a stethoscope.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class StethoscopeComponent : Component
|
||||
public sealed partial class StethoscopeComponent : Component
|
||||
{
|
||||
public bool IsActive = false;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace Content.Server.Medical.Components
|
||||
/// Used to let doctors use the stethoscope on people.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class WearingStethoscopeComponent : Component
|
||||
public sealed partial class WearingStethoscopeComponent : Component
|
||||
{
|
||||
public CancellationTokenSource? CancelToken;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user