Files
tbd-station-14/Content.Shared/Wieldable/ItemUnwieldedEvent.cs
2023-05-10 10:01:23 +10:00

24 lines
535 B
C#

namespace Content.Shared.Wieldable;
#region Events
/// <summary>
/// Raised on the item that has been unwielded.
/// </summary>
public sealed class ItemUnwieldedEvent : EntityEventArgs
{
public EntityUid? User;
/// <summary>
/// Whether the item is being forced to be unwielded, or if the player chose to unwield it themselves.
/// </summary>
public bool Force;
public ItemUnwieldedEvent(EntityUid? user = null, bool force=false)
{
User = user;
Force = force;
}
}
#endregion