mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 16:17:27 +00:00
15 lines
451 B
C#
15 lines
451 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Damage.Components;
|
|
|
|
/// <summary>
|
|
/// Prevent the object from getting hit by projetiles unless you target the object.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
[Access(typeof(RequireProjectileTargetSystem))]
|
|
public sealed partial class RequireProjectileTargetComponent : Component
|
|
{
|
|
[DataField, AutoNetworkedField]
|
|
public bool Active = true;
|
|
}
|