using Content.Shared.NPC.Prototypes; using Content.Shared.NPC.Systems; using Robust.Shared.GameStates; using Robust.Shared.Prototypes; namespace Content.Shared.NPC.Components; [RegisterComponent, NetworkedComponent, Access(typeof(NpcFactionSystem))] public sealed partial class NpcFactionMemberComponent : Component { /// /// Factions this entity is a part of. /// [DataField] public HashSet> Factions = new(); /// /// Cached friendly factions. /// [ViewVariables] public readonly HashSet> FriendlyFactions = new(); /// /// Cached hostile factions. /// [ViewVariables] public readonly HashSet> HostileFactions = new(); }