Class ItemUnwieldedEvent
Raised on the item that has been unwielded.
Inheritance
System.Object
ItemUnwieldedEvent
Namespace: Content.Shared.Wieldable
Assembly: Content.Shared.dll
Syntax
public sealed class ItemUnwieldedEvent : EntityEventArgs
Constructors
| Improve this Doc View SourceItemUnwieldedEvent(Nullable<EntityUid>, Boolean)
Declaration
public ItemUnwieldedEvent(EntityUid? user = null, bool force = false)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<EntityUid> | user | |
System.Boolean | force |
Fields
| Improve this Doc View SourceForce
Whether the item is being forced to be unwielded, or if the player chose to unwield it themselves.
Declaration
public bool Force
Field Value
Type | Description |
---|---|
System.Boolean |
User
Declaration
public EntityUid? User
Field Value
Type | Description |
---|---|
System.Nullable<EntityUid> |