using Content.Shared.Emag.Systems; using Content.Shared.Tag; 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"; }