using Content.Shared.Humanoid;
using Content.Shared.Inventory;
using Robust.Shared.GameStates;
namespace Content.Shared.Clothing.Components;
///
/// This is used for a clothing item that hides an appearance layer.
/// The entity's HumanoidAppearance component must have the corresponding hideLayerOnEquip value.
///
[RegisterComponent, NetworkedComponent]
public sealed partial class HideLayerClothingComponent : Component
{
///
/// The appearance layer(s) to hide. Use Layers instead.
///
[DataField]
[Obsolete("This attribute is deprecated, please use Layers instead.")]
public HashSet? Slots;
///
/// A map of the appearance layer(s) to hide, and the equipment slot that should hide them.
///
[DataField]
public Dictionary Layers = new();
///
/// If true, the layer will only hide when the item is in a toggled state (e.g. masks)
///
[DataField]
public bool HideOnToggle = false;
}