FactionExceptionTrackerComponent.cs 573 B

1234567891011121314151617
  1. using Content.Shared.NPC.Systems;
  2. using Robust.Shared.GameStates;
  3. namespace Content.Shared.NPC.Components;
  4. /// <summary>
  5. /// This is used for tracking entities stored in <see cref="FactionExceptionComponent"/>.
  6. /// </summary>
  7. [RegisterComponent, NetworkedComponent, Access(typeof(NpcFactionSystem))]
  8. public sealed partial class FactionExceptionTrackerComponent : Component
  9. {
  10. /// <summary>
  11. /// Entities with <see cref="FactionExceptionComponent"/> that are tracking this entity.
  12. /// </summary>
  13. [DataField]
  14. public HashSet<EntityUid> Entities = new();
  15. }