using Robust.Shared.Prototypes; namespace Content.Shared.NPC.Prototypes; /// /// Contains data about this faction's relations with other factions. /// [Prototype] public sealed partial class NpcFactionPrototype : IPrototype { [ViewVariables] [IdDataField] public string ID { get; private set; } = default!; [DataField] public List> Friendly = new(); [DataField] public List> Hostile = new(); } /// /// Cached data for the faction prototype. Is modified at runtime, whereas the prototype is not. /// public record struct FactionData { [ViewVariables] public HashSet> Friendly; [ViewVariables] public HashSet> Hostile; }