18 lines
573 B
C#
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();
|
|
}
|