2022-07-10 18:36:53 -07:00
|
|
|
|
using Content.Shared.Inventory;
|
|
|
|
|
|
using Robust.Shared.GameStates;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.IdentityManagement.Components;
|
|
|
|
|
|
|
|
|
|
|
|
[RegisterComponent, NetworkedComponent]
|
|
|
|
|
|
public sealed class IdentityBlockerComponent : Component
|
|
|
|
|
|
{
|
2022-07-13 22:23:55 -07:00
|
|
|
|
public bool Enabled = true;
|
2022-07-10 18:36:53 -07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Raised on an entity and relayed to inventory to determine if its identity should be knowable.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public sealed class SeeIdentityAttemptEvent : CancellableEntityEventArgs, IInventoryRelayEvent
|
|
|
|
|
|
{
|
|
|
|
|
|
// i.e. masks or helmets.
|
|
|
|
|
|
public SlotFlags TargetSlots => SlotFlags.MASK | SlotFlags.HEAD;
|
|
|
|
|
|
}
|