using Content.Shared.Alert;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Strip.Components;
///
/// Give this to an entity when you want to decrease stripping times
///
[RegisterComponent, NetworkedComponent]
[AutoGenerateComponentState(fieldDeltas: true)]
public sealed partial class ThievingComponent : Component
{
///
/// How much the strip time should be shortened by
///
[DataField, AutoNetworkedField]
public TimeSpan StripTimeReduction = TimeSpan.FromSeconds(0.5f);
///
/// Should it notify the user if they're stripping a pocket?
///
[DataField, AutoNetworkedField]
public bool Stealthy;
///
/// Variable pointing at the Alert modal
///
[DataField]
public ProtoId StealthyAlertProtoId = "Stealthy";
///
/// Prevent component replication to clients other than the owner,
/// doesn't affect prediction.
/// Get mogged.
///
public override bool SendOnlyToOwner => true;
}
///
/// Event raised to toggle the thieving component.
///
public sealed partial class ToggleThievingEvent : BaseAlertEvent;