MindShieldComponent.cs 578 B

12345678910111213141516
  1. using Content.Shared.Revolutionary;
  2. using Robust.Shared.GameStates;
  3. using Content.Shared.StatusIcon;
  4. using Robust.Shared.Prototypes;
  5. namespace Content.Shared.Mindshield.Components;
  6. /// <summary>
  7. /// If a player has a Mindshield they will get this component to prevent conversion.
  8. /// </summary>
  9. [RegisterComponent, NetworkedComponent, Access(typeof(SharedRevolutionarySystem))]
  10. public sealed partial class MindShieldComponent : Component
  11. {
  12. [DataField, ViewVariables(VVAccess.ReadWrite)]
  13. public ProtoId<SecurityIconPrototype> MindShieldStatusIcon = "MindShieldIcon";
  14. }