Files
OldThink/Content.Shared/Emag/Components/EmagComponent.cs
Aviu00 f82eee75b0 Thief stuff (#480)
* - add: Thief stuff.

* - fix: Implants.

* - add: Jammer.
2024-07-22 17:20:05 +03:00

25 lines
801 B
C#

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
{
/// <summary>
/// The tag that marks an entity as immune to emags
/// </summary>
[DataField("emagImmuneTag", customTypeSerializer: typeof(PrototypeIdSerializer<TagPrototype>)), ViewVariables(VVAccess.ReadWrite)]
[AutoNetworkedField]
public string EmagImmuneTag = "EmagImmune";
[DataField]
public EntityWhitelist? Whitelist;
}