Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user