24 lines
535 B
C#
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
|