17 lines
463 B
C#
17 lines
463 B
C#
namespace Content.Shared.Tools.Systems;
|
|
|
|
/// <summary>
|
|
/// Checks that entity can be weld/unweld.
|
|
/// Raised twice: before do_after and after to check that entity still valid.
|
|
/// </summary>
|
|
public sealed class WeldableAttemptEvent : CancellableEntityEventArgs
|
|
{
|
|
public readonly EntityUid User;
|
|
public readonly EntityUid Tool;
|
|
|
|
public WeldableAttemptEvent(EntityUid user, EntityUid tool)
|
|
{
|
|
User = user;
|
|
Tool = tool;
|
|
}
|
|
} |