Lag compensation for melee (#11885)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
namespace Content.Server.Movement.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Track lag compensation components that may need to have their data culled for memory reasons.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class ActiveLagCompensationComponent : Component
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using Robust.Shared.Map;
|
||||
|
||||
namespace Content.Server.Movement.Components;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class LagCompensationComponent : Component
|
||||
{
|
||||
[ViewVariables]
|
||||
public readonly Queue<ValueTuple<TimeSpan, EntityCoordinates, Angle>> Positions = new();
|
||||
}
|
||||
Reference in New Issue
Block a user