using System;
using Content.Shared.Clothing.Components;
using Robust.Shared.GameObjects;
using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Shared.Civ14.CivFactions;
[AutoGenerateComponentState] // Add this attribute
[RegisterComponent]
[NetworkedComponent]
public sealed partial class CivFactionsComponent : Component
{
///
/// The list of current factions in the game.
///
[DataField("factionList"), AutoNetworkedField]
public List FactionList { get; set; } = new(); // <-- Use FactionData
///
/// Check if the faction rule is enabled.
///
[DataField("factionsActive")]
public bool FactionsActive { get; set; } = true;
}