using Content.Shared._NF.Interaction.Systems;
using Content.Shared.Whitelist;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared._NF.Interaction.Components;
///
/// Lets this placeholder entity "pick up" items by clicking on them.
/// The picked up item will then have added, referencing this placeholder.
///
[RegisterComponent, NetworkedComponent, Access(typeof(HandPlaceholderSystem))]
[AutoGenerateComponentState(true)]
public sealed partial class HandPlaceholderComponent : Component
{
///
/// A whitelist to match entities that this should accept.
///
[DataField, AutoNetworkedField]
public EntityWhitelist? Whitelist;
///
/// A blacklist to match entities that this should not accept.
///
[DataField, AutoNetworkedField]
public EntityWhitelist? Blacklist;
///
/// The prototype to use for placeholder icon visuals.
///
[DataField, AutoNetworkedField]
public EntProtoId? Prototype;
///
/// The source entity that this placeholder gets stored in when an item is picked up.
///
[DataField, AutoNetworkedField]
public EntityUid? Source;
///
/// The container on to insert this placeholder into.
///
[DataField, AutoNetworkedField]
public string ContainerId = string.Empty;
///
/// Controls preventing removal from containers.
///
[DataField, AutoNetworkedField]
public bool Enabled;
///
/// Controls preventing removal from containers.
///
[DataField, AutoNetworkedField]
public bool AllowNonItems;
}