using Content.Shared.Emag.Systems;
using Content.Shared.Tag;
using Content.Shared.Whitelist;
using Robust.Shared.GameStates;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
using Robust.Shared.Serialization;
namespace Content.Shared.Emag.Components;
[Access(typeof(EmagSystem))]
[RegisterComponent, NetworkedComponent]
[AutoGenerateComponentState]
public sealed partial class EmagComponent : Component
{
///
/// The tag that marks an entity as immune to emags
///
[DataField("emagImmuneTag", customTypeSerializer: typeof(PrototypeIdSerializer)), ViewVariables(VVAccess.ReadWrite)]
[AutoNetworkedField]
public string EmagImmuneTag = "EmagImmune";
// DeltaV - Add a whitelist/blacklist to the Emag
///
/// Whitelist that entities must be on to work.
///
[DataField]
public EntityWhitelist? Whitelist;
///
/// Blacklist that entities must be off to work.
///
[DataField]
public EntityWhitelist? Blacklist;
// End of DeltaV code
}