Auto comp (#6416)
This commit is contained in:
@@ -11,7 +11,6 @@ namespace Content.Shared.Movement.Components
|
||||
[RegisterComponent]
|
||||
public sealed class MovementIgnoreGravityComponent : Component
|
||||
{
|
||||
public override string Name => "MovementIgnoreGravity";
|
||||
}
|
||||
|
||||
public static class GravityExtensions
|
||||
|
||||
@@ -15,8 +15,6 @@ namespace Content.Shared.Movement.Components
|
||||
public const float DefaultBaseWalkSpeed = 3.0f;
|
||||
public const float DefaultBaseSprintSpeed = 5.0f;
|
||||
|
||||
public override string Name => "MovementSpeedModifier";
|
||||
|
||||
[ViewVariables]
|
||||
public float WalkSpeedModifier = 1.0f;
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@ namespace Content.Shared.Movement.Components
|
||||
[ComponentReference(typeof(IMoverComponent))]
|
||||
public class SharedDummyInputMoverComponent : Component, IMoverComponent
|
||||
{
|
||||
public override string Name => "DummyInputMover";
|
||||
public bool IgnorePaused => false;
|
||||
public float CurrentWalkSpeed => 0f;
|
||||
public float CurrentSprintSpeed => 0f;
|
||||
|
||||
@@ -39,9 +39,6 @@ namespace Content.Shared.Movement.Components
|
||||
[Dependency] private readonly IConfigurationManager _configurationManager = default!;
|
||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
|
||||
public override string Name => "PlayerInputMover";
|
||||
|
||||
private GameTick _lastInputTick;
|
||||
private ushort _lastInputSubTick;
|
||||
private Vector2 _curTickWalkMovement;
|
||||
|
||||
@@ -19,8 +19,6 @@ namespace Content.Shared.Movement.Components
|
||||
[NetworkedComponent()]
|
||||
public class SharedPlayerMobMoverComponent : Component, IMobMoverComponent
|
||||
{
|
||||
public override string Name => "PlayerMobMover";
|
||||
|
||||
private float _stepSoundDistance;
|
||||
[DataField("grabRange")]
|
||||
private float _grabRange = IMobMoverComponent.GrabRangeDefault;
|
||||
|
||||
@@ -8,8 +8,6 @@ namespace Content.Shared.Movement.Components;
|
||||
[NetworkedComponent, RegisterComponent]
|
||||
public class SlowContactsComponent : Component
|
||||
{
|
||||
public override string Name => "SlowContacts";
|
||||
|
||||
[ViewVariables, DataField("walkSpeedModifier")]
|
||||
public float WalkSpeedModifier { get; private set; } = 1.0f;
|
||||
|
||||
|
||||
@@ -9,5 +9,4 @@ namespace Content.Shared.Movement.Components;
|
||||
[NetworkedComponent, RegisterComponent]
|
||||
public class SlowsOnContactComponent : Component
|
||||
{
|
||||
public override string Name => "SlowsOnContact";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user