Refactor serialization copying to use source generators (#19412)

This commit is contained in:
DrSmugleaf
2023-08-22 18:14:33 -07:00
committed by GitHub
parent 08b43990ab
commit a88e747a0b
1737 changed files with 2532 additions and 2521 deletions

View File

@@ -4,7 +4,7 @@ namespace Content.Server.Movement.Components;
/// Track lag compensation components that may need to have their data culled for memory reasons.
/// </summary>
[RegisterComponent]
public sealed class ActiveLagCompensationComponent : Component
public sealed partial class ActiveLagCompensationComponent : Component
{
}

View File

@@ -3,7 +3,7 @@ using Robust.Shared.Map;
namespace Content.Server.Movement.Components;
[RegisterComponent]
public sealed class LagCompensationComponent : Component
public sealed partial class LagCompensationComponent : Component
{
[ViewVariables]
public readonly Queue<ValueTuple<TimeSpan, EntityCoordinates, Angle>> Positions = new();

View File

@@ -3,7 +3,7 @@ using System.Numerics;
namespace Content.Server.Movement.Components;
[RegisterComponent]
public sealed class StressTestMovementComponent : Component
public sealed partial class StressTestMovementComponent : Component
{
public float Progress { get; set; }
public Vector2 Origin { get; set; }