Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
namespace Content.Server.Administration.Components;
|
||||
|
||||
[RegisterComponent, Access(typeof(BufferingSystem))]
|
||||
public sealed class BufferingComponent : Component
|
||||
public sealed partial class BufferingComponent : Component
|
||||
{
|
||||
[DataField("minBufferTime")]
|
||||
public float MinimumBufferTime = 0.5f;
|
||||
|
||||
@@ -4,7 +4,7 @@ using Robust.Shared.GameStates;
|
||||
namespace Content.Server.Administration.Components;
|
||||
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed class HeadstandComponent : SharedHeadstandComponent
|
||||
public sealed partial class HeadstandComponent : SharedHeadstandComponent
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -4,5 +4,5 @@ using Robust.Shared.GameStates;
|
||||
namespace Content.Server.Administration.Components;
|
||||
|
||||
[NetworkedComponent, RegisterComponent]
|
||||
public sealed class KillSignComponent : SharedKillSignComponent
|
||||
public sealed partial class KillSignComponent : SharedKillSignComponent
|
||||
{ }
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/// This is used for the admin map-wide/station-wide/grid-wide infinite power trick.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class StationInfiniteBatteryTargetComponent : Component
|
||||
public sealed partial class StationInfiniteBatteryTargetComponent : Component
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user