Files
tbd-station-14/Content.Shared/Tools/Systems/WeldableAttemptEvent.cs
2023-09-05 00:07:01 +10:00

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;
}
}