6
StarHorizon_Public/Content.Shared/NPC/Components/FactionExceptionTrackerComponent.cs
2025-08-13 15:03:01 +03:00

18 lines
573 B
C#

using Content.Shared.NPC.Systems;
using Robust.Shared.GameStates;
namespace Content.Shared.NPC.Components;
/// <summary>
/// This is used for tracking entities stored in <see cref="FactionExceptionComponent"/>.
/// </summary>
[RegisterComponent, NetworkedComponent, Access(typeof(NpcFactionSystem))]
public sealed partial class FactionExceptionTrackerComponent : Component
{
/// <summary>
/// Entities with <see cref="FactionExceptionComponent"/> that are tracking this entity.
/// </summary>
[DataField]
public HashSet<EntityUid> Entities = new();
}