Files
tbd-station-14/Content.Shared/Ninja/Components/DashAbilityComponent.cs
Connor Huffine 8c406cbe38 Remove unused includes in Ninja (#41207)
* Remove Unused

* Additional cleanup
2025-10-31 00:03:09 +00:00

27 lines
875 B
C#

using Content.Shared.Actions;
using Content.Shared.Actions.Components;
using Content.Shared.Ninja.Systems;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Ninja.Components;
/// <summary>
/// Adds an action to dash, teleport to clicked position, when this item is held.
/// Cancel <see cref="CheckDashEvent"/> to prevent using it.
/// </summary>
[RegisterComponent, NetworkedComponent, Access(typeof(DashAbilitySystem)), AutoGenerateComponentState]
public sealed partial class DashAbilityComponent : Component
{
/// <summary>
/// The action id for dashing.
/// </summary>
[DataField]
public EntProtoId<WorldTargetActionComponent> DashAction = "ActionEnergyKatanaDash";
[DataField, AutoNetworkedField]
public EntityUid? DashActionEntity;
}
public sealed partial class DashEvent : WorldTargetActionEvent;