Class ToolUseAttemptEvent
Attempt event called before any do afters to see if the tool usage should succeed or not. Raised on both the tool and then target.
Inheritance
System.Object
ToolUseAttemptEvent
Namespace: Content.Shared.Tools.Components
Assembly: Content.Shared.dll
Syntax
public sealed class ToolUseAttemptEvent : CancellableEntityEventArgs
Constructors
| Improve this Doc View SourceToolUseAttemptEvent(EntityUid)
Declaration
public ToolUseAttemptEvent(EntityUid user)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | user |
Properties
| Improve this Doc View SourceUser
Declaration
public EntityUid User { get; }
Property Value
Type | Description |
---|---|
EntityUid |