mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
23 lines
535 B
C#
23 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
|