using Content.Shared.Whitelist;
using Robust.Shared.GameStates;
namespace Content.Shared.Trigger.Components.Conditions;
///
/// Checks if the user of a trigger satisfies a whitelist and blacklist condition for the triggered entity or the one triggering it.
/// Cancels the trigger otherwise.
///
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class WhitelistTriggerConditionComponent : BaseTriggerConditionComponent
{
///
/// Whitelist for what entites can cause this trigger.
///
[DataField, AutoNetworkedField]
public EntityWhitelist? UserWhitelist;
///
/// Blacklist for what entites can cause this trigger.
///
[DataField, AutoNetworkedField]
public EntityWhitelist? UserBlacklist;
}