UseDelay + ItemCooldown merge (#22502)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
using Content.Shared.Clothing.EntitySystems;
|
||||
using Content.Shared.Timing;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace Content.Shared.Interaction.Events;
|
||||
@@ -11,7 +13,13 @@ public sealed class UseInHandEvent : HandledEntityEventArgs
|
||||
/// <summary>
|
||||
/// Entity holding the item in their hand.
|
||||
/// </summary>
|
||||
public EntityUid User { get; }
|
||||
public EntityUid User;
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not to apply a UseDelay when used.
|
||||
/// Mostly used by the <see cref="ClothingSystem"/> quick-equip to not apply the delay to entities that have the <see cref="UseDelayComponent"/>.
|
||||
/// </summary>
|
||||
public bool ApplyDelay = true;
|
||||
|
||||
public UseInHandEvent(EntityUid user)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user