Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -6,7 +6,7 @@ using Robust.Server.Player;
|
||||
namespace Content.Server.Instruments;
|
||||
|
||||
[RegisterComponent, ComponentReference(typeof(SharedInstrumentComponent))]
|
||||
public sealed class InstrumentComponent : SharedInstrumentComponent
|
||||
public sealed partial class InstrumentComponent : SharedInstrumentComponent
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
|
||||
@@ -25,6 +25,6 @@ public sealed class InstrumentComponent : SharedInstrumentComponent
|
||||
}
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class ActiveInstrumentComponent : Component
|
||||
public sealed partial class ActiveInstrumentComponent : Component
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user