| 1234567891011121314 |
- 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;
- }
|