using Robust.Shared.GameStates;
namespace Content.Shared.Civ14.CivFactions;
[RegisterComponent, NetworkedComponent]
public sealed partial class CivFactionComponent : Component
{
///
/// The total weight of the entity, which is calculated
/// by recursive passes over all children with this component
///
[ViewVariables]
public string FactionName { get; set; } = "";
///
/// Sets the faction name associated with this component.
///
/// The name of the faction to assign.
public void SetFaction(string factionName)
{
FactionName = factionName;
}
}