Class WeldableAttemptEvent
Checks that entity can be weld/unweld. Raised twice: before do_after and after to check that entity still valid.
Inheritance
System.Object
WeldableAttemptEvent
Namespace: Content.Shared.Tools.Systems
Assembly: Content.Shared.dll
Syntax
public sealed class WeldableAttemptEvent : CancellableEntityEventArgs
Constructors
| Improve this Doc View SourceWeldableAttemptEvent(EntityUid, EntityUid)
Declaration
public WeldableAttemptEvent(EntityUid user, EntityUid tool)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | user | |
EntityUid | tool |
Fields
| Improve this Doc View SourceTool
Declaration
public readonly EntityUid Tool
Field Value
Type | Description |
---|---|
EntityUid |
User
Declaration
public readonly EntityUid User
Field Value
Type | Description |
---|---|
EntityUid |