fish-station/Content.Shared/Weapons/Ranged/Components/TargetedProjectileComponent.cs
2025-12-26 17:44:36 +03:00

14 lines
504 B
C#

using Content.Shared.Damage.Components;
using Content.Shared.Damage.Systems;
using Content.Shared.Weapons.Ranged.Systems;
using Robust.Shared.GameStates;
namespace Content.Shared.Weapons.Ranged.Components;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
[Access(typeof(SharedGunSystem), typeof(RequireProjectileTargetSystem))]
public sealed partial class TargetedProjectileComponent : Component
{
[DataField, AutoNetworkedField]
public HashSet<EntityUid> Targets = new();
}